Searched hist:"7 f9ad9b8" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | libata-core.c | 7f9ad9b8 Sat Dec 15 00:05:00 CST 2007 Tejun Heo <htejun@gmail.com> 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> 7f9ad9b8 Sat Dec 15 00:05:00 CST 2007 Tejun Heo <htejun@gmail.com> 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>
|