Commit 0662c58b authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

[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: default avatarTejun Heo <>
Signed-off-by: default avatarJeff Garzik <>
parent b51e9e5d
...@@ -1346,7 +1346,7 @@ static void ata_eh_autopsy(struct ata_port *ap) ...@@ -1346,7 +1346,7 @@ static void ata_eh_autopsy(struct ata_port *ap)
/* record autopsy result */ /* record autopsy result */
ehc-> = failed_dev; ehc-> = failed_dev;
ehc->i.action = action; ehc->i.action |= action;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment