diff options
author | Dave C Boutcher <boutcher@cs.umn.edu> | 2006-03-23 13:47:07 -0600 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-04-13 10:13:16 -0500 |
commit | 9b833e428ad24dc7cec2c0c7e6898caa91449c95 (patch) | |
tree | 6b65f8372acb4829c01c58ac0890e05bd6e35354 /drivers/scsi/ibmvscsi/rpa_vscsi.c | |
parent | 18c49b8cd69c360735df2cc6eeeb2593c01a81e8 (diff) |
[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 <sleddog@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/rpa_vscsi.c')
0 files changed, 0 insertions, 0 deletions