[SCSI] ibmvscsi: Make max_requests module parameter more accurate
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 17 Dec 2008 23:19:33 +0000 (17:19 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 2 Jan 2009 16:59:57 +0000 (10:59 -0600)
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>

No differences found