From: Christoph Hellwig Date: Thu, 20 Feb 2014 22:20:55 +0000 (-0800) Subject: [SCSI] do not manipulate device reference counts in scsi_get/put_command X-Git-Tag: v3.15-rc1~136^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0479633686d370303e3430256ace4bd5f7f138dc;p=pandora-kernel.git [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 Reviewed-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-diff-tree failed