diff options
author | Amol Grover <frextrite@gmail.com> | 2020-01-11 13:08:16 +0530 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2020-02-04 03:00:24 +0900 |
commit | 4ac76436a6d07dec1c3c766f234aa787a16e8f65 (patch) | |
tree | d7c1251090e080d7033661dbcd35c093a0155983 /drivers/watchdog | |
parent | c92bddee77353a773f0df76115c1a01877ce1eae (diff) |
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 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions