diff options
author | Tejun Heo <htejun@gmail.com> | 2007-12-15 07:05:00 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-18 02:33:12 +0100 |
commit | 7f9ad9b8b96855f529f4fe9db0bf32cd3f14c01b (patch) | |
tree | 955a9d2d53d7956319442e0321e37119a962ee9e /drivers/ata/libata.h | |
parent | libata: add more opcodes to ata.h (diff) | |
download | linux-7f9ad9b8b96855f529f4fe9db0bf32cd3f14c01b.tar.xz linux-7f9ad9b8b96855f529f4fe9db0bf32cd3f14c01b.zip |
libata: ata_dev_disable() should be called from EH context
ata_port_detach() calls ata_dev_disable() with host lock held but
ata_dev_disable() should be called from EH context. ata_port_detach()
steals EH context by setting ATA_PFLAG_UNLOADAING and flushing EH.
Drop locking around ata_dev_disable() and note that ata_port_detach()
owns EH context at that point.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata.h')
0 files changed, 0 insertions, 0 deletions