diff options
author | Daniel Wagner <[email protected]> | 2024-01-31 09:51:12 +0100 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-02-01 07:44:52 -0800 |
commit | a90ac7b348770ff3d246fac575306783de381e51 (patch) | |
tree | 41e00b711ebbd3e036d956b18726d222a870b144 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | fe506a74589326183297d5abdda02d0c76ae5a8b (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions