commit | 3d9a1f530e508ff6fc9ab8220016b02f1bce255b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Feb 02 14:01:25 2015 +0100 |
committer | James Bottomley <JBottomley@Parallels.com> | Thu Mar 19 06:40:53 2015 -0700 |
tree | afcdbfbdaea6b1a604dbc62f1f17d7da4fec7de5 | |
parent | e27829dc92e549486b8248cdfa53e108abb6acfb [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>