]> git.baikalelectronics.ru Git - kernel.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)
commitab93e92fac00de73b87e04afcd67ab7e9ad843f1
treebcbc79c4c4232b68a5a5b109f27083c2e55c64b1
parent2fe1087d13cc6c0cc969fd4aed24c680e8d07eb6
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