Skip to content
Commit f84e7e41 authored by Tejun Heo's avatar Tejun Heo
Browse files

[PATCH] libata: make sure sdev doesn't go away while rescanning



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: default avatarTejun Heo <htejun@gmail.com>
parent a569a30d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment