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)
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>

No differences found