libata-eh.c (314820c9e892d8f41ba4db300ec96770d9c8294b) | libata-eh.c (604284071ab09df80fc9872c84c3b4b914ce0f95) |
---|---|
1/* 2 * libata-eh.c - libata error handling 3 * 4 * Maintained by: Jeff Garzik <jgarzik@pobox.com> 5 * Please ALWAYS copy linux-ide@vger.kernel.org 6 * on emails. 7 * 8 * Copyright 2006 Tejun Heo <htejun@gmail.com> --- 405 unchanged lines hidden (view full) --- 414 if (rc) 415 break; 416 idx = (idx - 1 + ATA_ERING_SIZE) % ATA_ERING_SIZE; 417 } while (idx != ering->cursor); 418 419 return rc; 420} 421 | 1/* 2 * libata-eh.c - libata error handling 3 * 4 * Maintained by: Jeff Garzik <jgarzik@pobox.com> 5 * Please ALWAYS copy linux-ide@vger.kernel.org 6 * on emails. 7 * 8 * Copyright 2006 Tejun Heo <htejun@gmail.com> --- 405 unchanged lines hidden (view full) --- 414 if (rc) 415 break; 416 idx = (idx - 1 + ATA_ERING_SIZE) % ATA_ERING_SIZE; 417 } while (idx != ering->cursor); 418 419 return rc; 420} 421 |
422int ata_ering_clear_cb(struct ata_ering_entry *ent, void *void_arg) | 422static int ata_ering_clear_cb(struct ata_ering_entry *ent, void *void_arg) |
423{ 424 ent->eflags |= ATA_EFLAG_OLD_ER; 425 return 0; 426} 427 428static void ata_ering_clear(struct ata_ering *ering) 429{ 430 ata_ering_map(ering, ata_ering_clear_cb, NULL); --- 3654 unchanged lines hidden --- | 423{ 424 ent->eflags |= ATA_EFLAG_OLD_ER; 425 return 0; 426} 427 428static void ata_ering_clear(struct ata_ering *ering) 429{ 430 ata_ering_map(ering, ata_ering_clear_cb, NULL); --- 3654 unchanged lines hidden --- |