diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2010-06-17 22:56:02 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 21:03:46 +0400 |
commit | 1117ef8aed95521f46dae3052c7120baae48c2bb (patch) | |
tree | 212f2b5fdfd67f619c8ac3930aef2c5fa9825cfa /drivers/scsi/aacraid | |
parent | 0f33ece5bc3d5a9567b65cfbc736e8f206ecfc7b (diff) | |
download | linux-1117ef8aed95521f46dae3052c7120baae48c2bb.tar.xz |
[SCSI] ibmvscsi: Fix error path deadlock
Fixes a deadlock that can occur if we hit a command timeout
during the virtual adapter initialization. The event done
functions are written with the assumption that no locks are held,
however, when purging requests this is not true. Fix up the
purge function to drop the lock so that the done function
is not called with the lock held, which can cause a deadlock.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/aacraid')
0 files changed, 0 insertions, 0 deletions