[PATCH] libata: don't schedule EH on wcache on/off if old EH
authorTejun Heo <htejun@gmail.com>
Wed, 22 Nov 2006 03:39:43 +0000 (12:39 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 28 Nov 2006 08:45:13 +0000 (03:45 -0500)
commitc31f571d9f42fa2e89148811730fe3dc64943a6e
tree0b2be4fe17824d8dc89e9c838e9f8ff934472504
parent2ea5814472c3c910aed5c5b60f1f3b1000e353f1
[PATCH] libata: don't schedule EH on wcache on/off if old EH

Do not schedule EH for revalidation on wcache on/off if old EH.  Old
EH cannot handle it and will result in WARN_ON()'s and oops.

This closes bug #7412.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c