forked from Minki/linux
[SCSI] zfcp: Correct false abort data assignment.
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 <swen@vnet.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
5bfb2c3148
commit
6fbf25e86b
@ -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);
|
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->handler = zfcp_fsf_abort_fcp_command_handler;
|
||||||
req->qtcb->header.lun_handle = zfcp_sdev->lun_handle;
|
req->qtcb->header.lun_handle = zfcp_sdev->lun_handle;
|
||||||
req->qtcb->header.port_handle = zfcp_sdev->port->handle;
|
req->qtcb->header.port_handle = zfcp_sdev->port->handle;
|
||||||
|
Loading…
Reference in New Issue
Block a user