summaryrefslogtreecommitdiff
path: root/lib/refcount.c
diff options
context:
space:
mode:
authorDaniel Wagner <dwagner@suse.de>2024-04-04 16:41:30 +0200
committerKeith Busch <kbusch@kernel.org>2024-04-04 08:47:56 -0700
commitdb67bb39eff0fc5db21f49f8ae93e67ed2c5fe01 (patch)
treebf0b9548c62654474ef1b40436c5cabed411e00b /lib/refcount.c
parent95409e277d8343810adf8700d29d4329828d452b (diff)
nvmet-fc: move RCU read lock to nvmet_fc_assoc_exists
The RCU lock is only needed for the lookup loop and not for list_ad_tail_rcu call. Thus move it down the call chain into nvmet_fc_assoc_exists. While at it also fix the name typo of the function. Signed-off-by: Daniel Wagner <dwagner@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'lib/refcount.c')
0 files changed, 0 insertions, 0 deletions