aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-09-30 11:01:14 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-08 17:29:46 -0500
commit4d2095cc42a2d8062590891f929d9d694cbd927f (patch)
tree43145025e43f3bfc2341ca8e4b4b2c711dfe3e5c /drivers/scsi/fcoe
parentscsi: hisi_sas: Add v2 hw support for different refclk (diff)
downloadlinux-dev-4d2095cc42a2d8062590891f929d9d694cbd927f.tar.xz
linux-dev-4d2095cc42a2d8062590891f929d9d694cbd927f.zip
scsi: libfc: Revisit kref handling
The kref handling in fc_rport is a mess. This patch updates the kref handling according to the following rules: - Take a reference whenever scheduling a workqueue - Take a reference whenever an ELS command is send - Drop the reference at the end of the workqueue function - Drop the reference at the end of handling ELS replies - Take a reference when allocating an rport - Drop the reference when removing an rport Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fcoe')
0 files changed, 0 insertions, 0 deletions