Skip to content

Commit

Permalink
[PATCH] libata: fix ehc->i.action setting in ata_eh_autopsy()
Browse files Browse the repository at this point in the history
ata_eh_autopsy() used to directly assign determined action mask to
ehc->i.action thus overriding actions set by some of nested analyze
functions.  This patch makes ata_eh_autopsy() add action masks just as
it's done in other places.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
htejun authored and Jeff Garzik committed Jul 6, 2006
1 parent b51e9e5 commit 0662c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/libata-eh.c
Expand Up @@ -1346,7 +1346,7 @@ static void ata_eh_autopsy(struct ata_port *ap)

/* record autopsy result */
ehc->i.dev = failed_dev;
ehc->i.action = action;
ehc->i.action |= action;

DPRINTK("EXIT\n");
}
Expand Down

0 comments on commit 0662c58

Please sign in to comment.