summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-02-02 14:01:25 +0100
committerJames Bottomley <JBottomley@Parallels.com>2015-03-19 06:40:53 -0700
commit3d9a1f530e508ff6fc9ab8220016b02f1bce255b (patch)
treeafcdbfbdaea6b1a604dbc62f1f17d7da4fec7de5 /drivers/scsi/scsi.c
parente27829dc92e549486b8248cdfa53e108abb6acfb (diff)
sd: don't grab a device references from driver methods
The device model already takes care of races between ->remove and ->shutdown vs its other methods, and we now take care about locking them out for ->rescan as well. This is a partial revert of commit 39b7f1 ("[SCSI] sd: Fix refcounting"). Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
0 files changed, 0 insertions, 0 deletions