scsi: fc: provide fc_bsg_to_shost() helper
authorJohannes Thumshirn <[email protected]>
Thu, 17 Nov 2016 09:31:14 +0000 (10:31 +0100)
committerMartin K. Petersen <[email protected]>
Fri, 18 Nov 2016 01:15:25 +0000 (20:15 -0500)
commitcd21c605b2cf1cf4e698eb4f043f6a7f72b55691
treec7a48af651e960839c76384aa623c0eccf8a450d
parent1abaede71560fa98b97d8e6b172a14e6383f633d
scsi: fc: provide fc_bsg_to_shost() helper

Provide fc_bsg_to_shost() helper that will become handy when we're
moving from struct fc_bsg_job to a plain struct bsg_job. Also use this
little helper in the LLDDs.

Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Tyrel Datwyler <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/s390/scsi/zfcp_fc.c
drivers/scsi/bfa/bfad_bsg.c
drivers/scsi/ibmvscsi/ibmvfc.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/scsi_transport_fc.c
include/scsi/scsi_transport_fc.h