]> err.no Git - linux-2.6/commit
[PATCH] libata: fix ata_port_detach() for old EH ports
authorTejun Heo <htejun@gmail.com>
Fri, 4 Aug 2006 18:59:11 +0000 (03:59 +0900)
committerTejun Heo <htejun@gmail.com>
Fri, 4 Aug 2006 18:59:11 +0000 (03:59 +0900)
commitc3cf30a989efec8144225517e0b2f82c955e3966
tree0f4a134253a6e6d306509d617201dbea346b9536
parentf1d39b291e2263f5e2f2ec5d4061802f76d8ae67
[PATCH] libata: fix ata_port_detach() for old EH ports

ata_prot_detach() did nothing for old EH ports and thus SCSI hosts
associated with those ports are left dangling after they are detached
leaving stale devices and causing oops eventually.  Make
ata_port_detach() remove SCSI hosts for old EH ports.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/libata-core.c