aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.rst
diff options
context:
space:
mode:
authorJules Irenge <[email protected]>2020-01-20 22:41:26 +0000
committerPaul E. McKenney <[email protected]>2020-02-21 00:00:45 +0000
commite1e9bdc00ade6651c11bf5628ee9d313ee6089ac (patch)
treebe050164c819df4c1f6bd21168ed179a8b6b0838 /Documentation/filesystems/caching/netfs-api.rst
parentrcu-tasks: *_ONCE() for rcu_tasks_cbs_head (diff)
downloadkernel-e1e9bdc00ade6651c11bf5628ee9d313ee6089ac.tar.gz
kernel-e1e9bdc00ade6651c11bf5628ee9d313ee6089ac.zip
rcu: Add missing annotation for exit_tasks_rcu_start()
Sparse reports a warning at exit_tasks_rcu_start(void) |warning: context imbalance in exit_tasks_rcu_start() - wrong count at exit To fix this, this commit adds an __acquires(&tasks_rcu_exit_srcu). Given that exit_tasks_rcu_start() does actually call __srcu_read_lock(), this not only fixes the warning but also improves on the readability of the code. Signed-off-by: Jules Irenge <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Joel Fernandes (Google) <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions