Skip to content

Commit

Permalink
[SCSI] zfcp: Correct false abort data assignment.
Browse files Browse the repository at this point in the history
The request data assignment between the fsf abort initiator and its
corresponding handler is not consistent and leads to an unpredictable
behaviour, e.g. kernel panic.  This patch fixes this issue and assigns
the correct value.

Signed-off-by: Swen Schillig <[email protected]>
Signed-off-by: Christof Schmitt <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
sswen authored and James Bottomley committed Dec 9, 2010
1 parent 5bfb2c3 commit 6fbf25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/scsi/zfcp_fsf.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ struct zfcp_fsf_req *zfcp_fsf_abort_fcp_cmnd(struct scsi_cmnd *scmnd)

zfcp_qdio_set_sbale_last(qdio, &req->qdio_req);

req->data = zfcp_sdev;
req->data = sdev;
req->handler = zfcp_fsf_abort_fcp_command_handler;
req->qtcb->header.lun_handle = zfcp_sdev->lun_handle;
req->qtcb->header.port_handle = zfcp_sdev->port->handle;
Expand Down

0 comments on commit 6fbf25e

Please sign in to comment.