commit | 0479633686d370303e3430256ace4bd5f7f138dc | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Thu Feb 20 14:20:55 2014 -0800 |
committer | James Bottomley <JBottomley@Parallels.com> | Sat Mar 15 10:19:24 2014 -0700 |
tree | 8315562a82e4c64712d2d8ee423be2f346aa27c5 | |
parent | 21a05df547dd0ac532d3a89e241dc504018eb881 [diff] |
[SCSI] do not manipulate device reference counts in scsi_get/put_command Many callers won't need this and we can optimize them away. In addition the handling in the __-prefixed variants was inconsistant to start with. Based on an earlier patch from Bart Van Assche. [jejb: fix kerneldoc probelm picked up by Fengguang Wu] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Parallels.com>