Skip to content
Commit d88a714b authored by Sarang Radke's avatar Sarang Radke Committed by James Bottomley
Browse files

[SCSI] scsi_transport_fc: Make sure commands are completed when rport is offline



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: default avatarLalit Chandivade <lalit.chandivade@qlogic.com>
Acked-by: default avatarJames Smart <james.smart@emulex.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 4ae0a6c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment