summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAmol Grover <frextrite@gmail.com>2020-01-11 10:38:16 +0300
committerKeith Busch <kbusch@kernel.org>2020-02-03 21:00:24 +0300
commit4ac76436a6d07dec1c3c766f234aa787a16e8f65 (patch)
treed7c1251090e080d7033661dbcd35c093a0155983 /lib/mpi/mpiutil.c
parentc92bddee77353a773f0df76115c1a01877ce1eae (diff)
downloadlinux-4ac76436a6d07dec1c3c766f234aa787a16e8f65.tar.xz
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/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions