]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: fix revalidation issuing after configuration commands
authorTejun Heo <htejun@gmail.com>
Wed, 10 Oct 2007 06:57:44 +0000 (15:57 +0900)
committerJeff Garzik <jeff@garzik.org>
Mon, 15 Oct 2007 19:24:54 +0000 (15:24 -0400)
commitf58db80267c24e15d959e372d23651a43443c5f3
treebcbc79c4c4232b68a5a5b109f27083c2e55c64b1
parentf140f0f12fc8dc7264d2f97cbe663564e7d24f6d
libata: fix revalidation issuing after configuration commands

After commands which can change device configuration, EH is scheduled
to revalidate and reconfigure the device.  Host link was incorrectly
used unconditionally when scheduling EH action.  This resulted in
bogus revalidation request and mismatched configuration between device
and driver.  Fix it.

This bug was reported by Igor Durdanovic.

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