diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-12-17 17:19:33 -0600 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 10:59:57 -0600 |
commit | 4f10aae0d1a285df6b16bf6ca5abd366140fd371 (patch) | |
tree | e324caadd488d8e50f64beede6b77fcfc8d0e37b /crypto/khazad.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 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions