summaryrefslogtreecommitdiff
path: root/drivers/scsi/ibmvscsi/iseries_vscsi.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2010-06-17 18:56:03 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 17:03:47 (GMT)
commitf3a9c4d76a955e331e88992cd3b1e1498c231d52 (patch)
tree36b62ed69d733199b2a9aa5e864a58ada7a37aff /drivers/scsi/ibmvscsi/iseries_vscsi.c
parent1117ef8aed95521f46dae3052c7120baae48c2bb (diff)
downloadlinux-fsl-qoriq-f3a9c4d76a955e331e88992cd3b1e1498c231d52.tar.xz
[SCSI] ibmvscsi: Fix possible request_limit issue
If we encounter an error when sending a management datagram (i.e. non SCSI command, such as virtual adapter initialization command), we end up incrementing the request_limit, even though we don't decrement it for these commands. Fix this up by doing this increment in the error path for SRP commands only. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/ibmvscsi/iseries_vscsi.c')
0 files changed, 0 insertions, 0 deletions