[SCSI] scsi_transport_fc: Make sure commands are completed when rport is offline
authorSarang Radke <sarang.radke@qlogic.com>
Wed, 10 Mar 2010 10:03:04 +0000 (04:03 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 27 Mar 2010 19:08:08 +0000 (15:08 -0400)
blk_end_request doesn't complete a bidi request
successfully

The unfinished request eventually triggers a panic in
timeout handling routine fc_bsg_job_timeout as
req->special is NULL

Use blk_end_request_all to end the request unconditionally

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Acked-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found