Skip to content
Commit e27829dc authored by Christoph Hellwig's avatar Christoph Hellwig Committed by James Bottomley
Browse files

scsi: serialize ->rescan against ->remove



Lock the device embedded in the scsi_device to protect against
concurrent calls to ->remove.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 4e5a800c
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