]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 19:50:33 +0000 (12:50 -0700)
commit07fdde9d76f51afd29b1bd3ec1f5a7b8f5b16400
tree805bb680ad4429c9802afeb693bdc6883e270c77
parent91a9f6d49d6759dccacd83358dcb7dc30ac622c7
scsi_dh_alua: fix deadlock in stpg_endio

commit ed0f36bc5719b25659b637f80ceea85494b84502 upstream.

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>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/device_handler/scsi_dh_alua.c