diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-12-17 18:19:33 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 11:59:57 -0500 |
commit | 4f10aae0d1a285df6b16bf6ca5abd366140fd371 (patch) | |
tree | e324caadd488d8e50f64beede6b77fcfc8d0e37b /drivers/scsi/a100u2w.c | |
parent | 372bd282900c2d480152622a82942b369b98d49a (diff) |
[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 'drivers/scsi/a100u2w.c')
0 files changed, 0 insertions, 0 deletions