scsi: zfcp: decouple FSF request setup of TMF from scsi_cmnd
authorSteffen Maier <maier@linux.ibm.com>
Thu, 17 May 2018 17:14:53 +0000 (19:14 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 May 2018 15:22:11 +0000 (11:22 -0400)
commit39abb11aca00f0629a7484ed3b5e22d4b99f8f22
tree7c13cfdff30c49509b393456b4b710a472fbbddd
parente0116c91c7d80c841833296555555daf7470b70e
scsi: zfcp: decouple FSF request setup of TMF from scsi_cmnd

In zfcp_fsf_fcp_task_mgmt() resolve the still old argument scsi_cmnd into
scsi_device very early and only depend on scsi_device and derived objects in
the function body.

This prepares to later change the function signature replacing the scsi_cmnd
argument with scsi_device.

Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_fsf.c