[PATCH] libata: make sure sdev doesn't go away while rescanning
authorTejun Heo <htejun@gmail.com>
Wed, 22 Nov 2006 02:21:31 +0000 (11:21 +0900)
committerTejun Heo <htejun@gmail.com>
Sun, 3 Dec 2006 08:56:24 +0000 (17:56 +0900)
ata_scsi_dev_rescan() doesn't synchronize against SCSI device detach
and the target sdev might go away in the middle.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>

No differences found