mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
[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: Tejun Heo <htejun@gmail.com>
This commit is contained in:
parent
a569a30d30
commit
f84e7e41e1
1 changed files with 16 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue