scsi: serialize ->rescan against ->remove
Lock the device embedded in the scsi_device to protect against concurrent calls to ->remove. Signed-off-by: NChristoph Hellwig <hch@lst.de> Acked-by: NAlan Stern <stern@rowland.harvard.edu> Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
Showing
想要评论请 注册 或 登录