diff options
| author | Nilay Shroff <nilay@linux.ibm.com> | 2026-07-13 17:24:15 +0530 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-07-28 10:37:40 -0700 |
| commit | 50be6cb15f15006477332a20c4a4adba59a55163 (patch) | |
| tree | 49ee30bac335700d5fb3a14f689eeb9d61eab48e /tools/perf/scripts/python | |
| parent | 8aa68dba25f53f011ea39939af76171d4bf481ea (diff) | |
nvme: add context annotations in fabric.c
The global nvmf_transports list is protected by nvmf_transports_rwsem
and the global nvmf_hosts list is protected by nvmf_hosts_mutex.
Define both lists using LIST_HEAD_GUARDED() so that Clang's context
analysis can validate accesses to the lists against the corresponding
locking requirements.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
