]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] scsi_dh_alua: fix deadlock in stpg_endio
authorJoseph Gruher <joseph.r.gruher@intel.com>
Wed, 5 Jan 2011 21:00:21 +0000 (16:00 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:13:13 +0000 (11:13 -0600)
commited0f36bc5719b25659b637f80ceea85494b84502
tree55e69f3c8d5f19bc7676f33ca5aeb231eb46e8a0
parent7c66e9a5e6b0459c619562c5ad321071e2767faa
[SCSI] scsi_dh_alua: fix deadlock in stpg_endio

The use of blk_execute_rq_nowait() implies __blk_put_request() is needed
in stpg_endio() rather than blk_put_request() -- blk_finish_request() is
called with queue lock already held.

Signed-off-by: Joseph Gruher <joseph.r.gruher@intel.com>
Signed-off-by: Ilgu Hong <ilgu.hong@promise.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/device_handler/scsi_dh_alua.c