[PATCH] libata: fix ehc->i.action setting in ata_eh_autopsy()

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>

authored by Tejun Heo and committed by Jeff Garzik 0662c58b b51e9e5d

+1 -1
+1 -1
drivers/scsi/libata-eh.c
··· 1346 1346 1347 1347 /* record autopsy result */ 1348 1348 ehc->i.dev = failed_dev; 1349 - ehc->i.action = action; 1349 + ehc->i.action |= action; 1350 1350 1351 1351 DPRINTK("EXIT\n"); 1352 1352 }