From: Dave C Boutcher Date: Thu, 23 Mar 2006 19:47:07 +0000 (-0600) Subject: [SCSI] ibmvscsi: prevent scsi commands being sent in invalid state X-Git-Tag: v2.6.17-rc2~30^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b833e428ad24dc7cec2c0c7e6898caa91449c95;p=pandora-kernel.git [SCSI] ibmvscsi: prevent scsi commands being sent in invalid state There is a window where we can be re-enabling an adapter, but still allow SCSI commands to be sent to the target. This fix sets our window (request_limit) to -1 as soon as we know the adapter is being reenabled, and closes a very teeny tiny window where we could set the window back to 1 before we grab a lock. Signed-off-by: Dave Boutcher Signed-off-by: James Bottomley --- Reading git-diff-tree failed