diff options
author | 2020-01-11 13:08:16 +0530 | |
---|---|---|
committer | 2020-02-04 03:00:24 +0900 | |
commit | 4ac76436a6d07dec1c3c766f234aa787a16e8f65 (patch) | |
tree | d7c1251090e080d7033661dbcd35c093a0155983 /lib/test_overflow.c | |
parent | block, bfq: clarify the goal of bfq_split_bfqq() (diff) | |
download | wireguard-linux-4ac76436a6d07dec1c3c766f234aa787a16e8f65.tar.xz wireguard-linux-4ac76436a6d07dec1c3c766f234aa787a16e8f65.zip |
nvmet: Pass lockdep expression to RCU lists
ctrl->subsys->namespaces and subsys->namespaces are traversed with
list_for_each_entry_rcu outside an RCU read-side critical section but
under the protection of ctrl->subsys->lock and subsys->lock respectively.
Hence, add the corresponding lockdep expression to the list traversal
primitive to silence false-positive lockdep warnings, and harden RCU
lists.
Reported-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Amol Grover <frextrite@gmail.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions