From: Bart Van Assche Date: Mon, 18 May 2015 11:23:14 +0000 (+0200) Subject: IB/srp: Remove an extraneous scsi_host_put() from an error path X-Git-Tag: omap-for-v4.2/fixes-rc1^2~152^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb49c8bbaae70b14fea2b4590a90a21539f88526;p=pandora-kernel.git IB/srp: Remove an extraneous scsi_host_put() from an error path Fix a scsi_get_host() / scsi_host_put() imbalance in the error path of srp_create_target(). See also patch "IB/srp: Avoid that I/O hangs due to a cable pull during LUN scanning" (commit ID 34aa654ecb8e). Signed-off-by: Bart Van Assche Reviewed-by: Sagi Grimberg Cc: Sebastian Parschauer Cc: #v3.19 Signed-off-by: Doug Ledford --- Reading git-diff-tree failed