aboutsummaryrefslogtreecommitdiff
path: root/fs/bio.c
diff options
context:
space:
mode:
authorGravatar Brian King <brking@linux.vnet.ibm.com> 2008-12-17 17:19:33 -0600
committerGravatar James Bottomley <James.Bottomley@HansenPartnership.com> 2009-01-02 10:59:57 -0600
commit4f10aae0d1a285df6b16bf6ca5abd366140fd371 (patch)
treee324caadd488d8e50f64beede6b77fcfc8d0e37b /fs/bio.c
parent[SCSI] lpfc: Move a dereference below a NULL test (diff)
downloadlinux-4f10aae0d1a285df6b16bf6ca5abd366140fd371.tar.gz
linux-4f10aae0d1a285df6b16bf6ca5abd366140fd371.tar.bz2
linux-4f10aae0d1a285df6b16bf6ca5abd366140fd371.zip
[SCSI] ibmvscsi: Make max_requests module parameter more accurate
In a previous patch to fix an issue with error recovery, the behavior of the max_requests module paramater was also changed. If, for some reason, max_requests is set to one by the user, we will end up with a negative number for can_queue. Fix this by making max_requests not include the two event structs needed to do error recovery. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions