diff options
author | Daniel Wagner <dwagner@suse.de> | 2024-01-31 09:51:12 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-02-01 07:44:52 -0800 |
commit | a90ac7b348770ff3d246fac575306783de381e51 (patch) | |
tree | 41e00b711ebbd3e036d956b18726d222a870b144 /drivers/infiniband | |
parent | fe506a74589326183297d5abdda02d0c76ae5a8b (diff) | |
download | linux-a90ac7b348770ff3d246fac575306783de381e51.tar.gz linux-a90ac7b348770ff3d246fac575306783de381e51.tar.bz2 linux-a90ac7b348770ff3d246fac575306783de381e51.zip |
nvmet-fc: use RCU list iterator for assoc_list
The assoc_list is a RCU protected list, thus use the RCU flavor of list
functions.
Let's use this opportunity and refactor this code and move the lookup
into a helper and give it a descriptive name.
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions