[SCSI] scsi_dh_hp_sw: fix deadlock in start_stop_endio
authorMike Snitzer <snitzer@redhat.com>
Tue, 25 Jan 2011 16:52:17 +0000 (11:52 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Feb 2011 16:31:04 +0000 (10:31 -0600)
commit7a1e9d829f8bd821466c5ea834ad6f378740d2be
tree1952712cb6970830a9deccf30eaa32c33178a300
parent98cb7e4413d189cd2b54daf993a4667d9788c0bb
[SCSI] scsi_dh_hp_sw: fix deadlock in start_stop_endio

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

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/device_handler/scsi_dh_hp_sw.c