diff options
author | Tejun Heo <tj@kernel.org> | 2010-04-14 20:00:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-12 18:03:11 -0400 |
commit | 5a904363da074781118bc161a1149494bf195128 (patch) | |
tree | db91be098f86dcde432b70df86179ad87728ae0e /drivers/scsi/libiscsi.c | |
parent | 3054cd85318d5bcf403352746bda26287b1efe9f (diff) |
SCSI: fix locking around blk_abort_request()
commit 70b25f890ce9f0520c64075ce9225a5b020a513e upstream.
blk_abort_request() expects queue lock to be held by the caller.
Grab it before calling the function.
Lack of this synchronization led to infinite loop on corrupt
q->timeout_list.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/libiscsi.c')
0 files changed, 0 insertions, 0 deletions