summaryrefslogtreecommitdiffstats
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-12-17 17:19:33 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-02 10:59:57 -0600
commit4f10aae0d1a285df6b16bf6ca5abd366140fd371 (patch)
treee324caadd488d8e50f64beede6b77fcfc8d0e37b /block/blk-map.c
parent372bd282900c2d480152622a82942b369b98d49a (diff)
downloadlinux-4f10aae0d1a285df6b16bf6ca5abd366140fd371.tar.bz2
[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 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions