From: Tejun Heo Date: Sat, 15 Dec 2007 06:05:00 +0000 (+0900) Subject: libata: ata_dev_disable() should be called from EH context X-Git-Tag: v2.6.24-rc6~23^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9ad9b8b96855f529f4fe9db0bf32cd3f14c01b;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed