summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2010-06-17 20:56:02 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 19:03:46 +0200
commit1117ef8aed95521f46dae3052c7120baae48c2bb (patch)
tree212f2b5fdfd67f619c8ac3930aef2c5fa9825cfa /virt
parent[SCSI] ibmvscsi: Fix softlockup on resume (diff)
downloadlinux-1117ef8aed95521f46dae3052c7120baae48c2bb.tar.xz
linux-1117ef8aed95521f46dae3052c7120baae48c2bb.zip
[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 'virt')
0 files changed, 0 insertions, 0 deletions