Mike Christie
83bd5f16b1
scsi: iscsi: Add iscsi_cls_conn refcount helpers
...
[ Upstream commit b1d19e8c92cfb0ded180ef3376c20e130414e067 ]
There are a couple places where we could free the iscsi_cls_conn while it's
still in use. This adds some helpers to get/put a refcount on the struct
and converts an exiting user. Subsequent commits will then use the helpers
to fix 2 bugs in the eh code.
Link: https://lore.kernel.org/r/20210525181821.7617-11-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:21:11 +02:00
..
fc
fc_fip: Update to latest FC-BB-6 draft
2016-07-13 22:04:27 -04:00
fc_encode.h
fc_frame.h
fcoe_sysfs.h
iscsi_if.h
scsi_transport_iscsi: Add 25G and 40G speed definition
2016-02-23 21:27:02 -05:00
iscsi_proto.h
scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
2020-02-28 15:42:54 +01:00
iser.h
IB/iser,isert: Create and use new shared header
2015-12-24 00:17:35 -05:00
libfc.h
fcoe: implement FIP VLAN responder
2016-07-20 19:49:41 -04:00
libfcoe.h
scsi: fcoe: Fix mismatched fcoe_wwn_from_mac declaration
2021-05-22 10:40:25 +02:00
libiscsi.h
scsi: libiscsi: Fix NOP race condition
2020-12-02 08:31:26 +01:00
libiscsi_tcp.h
iscsi_tcp: Use ahash
2016-01-27 20:36:10 +08:00
libsas.h
scsi: libsas: align sata_device's rps_resp on a cacheline
2017-12-14 09:28:11 +01:00
osd_attributes.h
osd_initiator.h
osd_ore.h
osd_protocol.h
osd_sec.h
osd_sense.h
osd_types.h
sas.h
scsi: Centralise ssp frame information units
2015-11-25 22:12:50 -05:00
sas_ata.h
scsi.h
lib: scatterlist: move SG pool code from SCSI driver to lib/sg_pool.c
2016-04-15 16:53:14 -04:00
scsi_bsg_iscsi.h
scsi_cmnd.h
scsi_common.h
scsi: target: core: Add CONTROL field for trace events
2020-10-29 09:05:43 +01:00
scsi_dbg.h
scsi: core: Reduce memory required for SCSI logging
2019-10-07 18:53:15 +02:00
scsi_device.h
scsi: Add STARGET_CREATED_REMOVE state to scsi_target_state
2017-07-27 15:07:59 -07:00
scsi_devinfo.h
scsi_dh_alua: Add new blacklist flag 'BLIST_SYNC_ALUA'
2016-02-23 21:27:02 -05:00
scsi_dh.h
scsi_dh: add 'rescan' callback
2016-02-23 21:27:02 -05:00
scsi_driver.h
scsi_eh.h
libata: evaluate SCSI sense code
2016-04-04 12:07:41 -04:00
scsi_host.h
scsi: Avoid that toggling use_blk_mq triggers a memory leak
2016-09-26 20:58:42 -04:00
scsi_ioctl.h
scsi_proto.h
scsi-trace: define ZBC_IN and ZBC_OUT
2016-04-11 16:57:09 -04:00
scsi_tcq.h
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
scsi_transport.h
scsi_transport_fc.h
scsi: fc: use get/put_unaligned64 for wwn access
2016-03-18 15:29:58 -04:00
scsi_transport_iscsi.h
scsi: iscsi: Add iscsi_cls_conn refcount helpers
2021-07-20 16:21:11 +02:00
scsi_transport_sas.h
scsi: sas: remove is_sas_attached()
2016-08-18 22:23:20 -04:00
scsi_transport_spi.h
scsi_transport_srp.h
IB/srp: Avoid using uninitialized variable
2015-07-14 13:20:09 -04:00
scsicam.h
sg.h
scsi: sg: disable SET_FORCE_LOW_DMA
2018-01-23 19:57:04 +01:00
srp.h
IB/srp: Add 64-bit LUN support
2015-05-18 13:35:56 -04:00
viosrp.h
ibmvscsis: Initial commit of IBM VSCSI Tgt Driver
2016-07-20 01:15:43 -07:00