diff options
author | Christoph Hellwig <hch@lst.de> | 2015-02-02 14:01:24 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2015-03-19 06:38:43 -0700 |
commit | e27829dc92e549486b8248cdfa53e108abb6acfb (patch) | |
tree | ae421000e744e0d3b766bd2a41468b6eaba052fc /drivers/scsi/sd.c | |
parent | 4e5a800c82ec21335349a97cf58d97fbb0d3c98e (diff) | |
download | lwn-e27829dc92e549486b8248cdfa53e108abb6acfb.tar.gz lwn-e27829dc92e549486b8248cdfa53e108abb6acfb.zip |
scsi: serialize ->rescan against ->remove
Lock the device embedded in the scsi_device to protect against
concurrent calls to ->remove.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions