summaryrefslogtreecommitdiff
path: root/drivers/hwmon/amc6821.c
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2021-05-25 21:18:03 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-06-02 08:28:20 +0300
commitb1d19e8c92cfb0ded180ef3376c20e130414e067 (patch)
treea5fd364ec3e7e4cf19a4eace317b5ca239b0b101 /drivers/hwmon/amc6821.c
parent788b71c54f21fd994071c77983fdf1a9c264fc95 (diff)
downloadlinux-b1d19e8c92cfb0ded180ef3376c20e130414e067.tar.xz
scsi: iscsi: Add iscsi_cls_conn refcount helpers
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>
Diffstat (limited to 'drivers/hwmon/amc6821.c')
0 files changed, 0 insertions, 0 deletions