diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-07-06 19:40:31 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-07-06 19:40:31 +0300 |
commit | 6e180327153071281dbbf6a16759e49862debdca (patch) | |
tree | bb089c228824d356fc5387e601444a178812a8f3 /Documentation/process/changes.rst | |
parent | 7e4745a09426b3fe63e9fbea3190e0f8500820a4 (diff) | |
download | linux-6e180327153071281dbbf6a16759e49862debdca.tar.xz |
namei: move clearing LOOKUP_RCU towards rcu_read_unlock()
try_to_unlazy()/try_to_unlazy_next() drop LOOKUP_RCU in the
very beginning and do rcu_read_unlock() only at the very end.
However, nothing done in between even looks at the flag in
question; might as well clear it at the same time we unlock.
Note that try_to_unlazy_next() used to call legitimize_mnt(),
which might drop/regain rcu_read_lock() in some cases. This
is no longer true, so we really have rcu_read_lock() held
all along until the end.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/process/changes.rst')
0 files changed, 0 insertions, 0 deletions