commit | 411cb3869afd91ed40e8f12df64cd9e315356305 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Wed Apr 23 20:48:36 2008 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Fri Apr 25 00:45:09 2008 -0400 |
tree | dde48c3147d784d6ecfee093a1e6575291d6a177 | |
parent | 458622fcdc5b316de8d74efd7e610803f0308c14 [diff] |
libata: make WARN_ON conditions in ata_sff_hsm_move() more strict WARN_ON()'s in ata_hsm_move() was too liberal and got triggerred when it shouldn't (e.g. hotplug events at the right moment). As the HSM only deals with device errors and state machine violations, make it check only against them. Signed-off-by: Tejun Heo <htejun@gmail.com> Cc: Mark Lord <liml@rtr.ca> Cc: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>