diff options
author | 2025-03-14 09:32:54 +1100 | |
---|---|---|
committer | 2025-03-18 15:34:27 +0100 | |
commit | 514b68711164b557342bc6169d898576fa905c0f (patch) | |
tree | 17d5419e6f6a4f2383409faf56d5d48b5569790b /scripts/rust_is_available_test.py | |
parent | fs: dedup handling of struct filename init and refcounts bumps (diff) | |
download | wireguard-linux-514b68711164b557342bc6169d898576fa905c0f.tar.xz wireguard-linux-514b68711164b557342bc6169d898576fa905c0f.zip |
VFS/autofs: try_lookup_one_len() does not need any locks
try_lookup_one_len() is identical to lookup_one_unlocked() except that
it doesn't include the call to lookup_slow(). The latter doesn't need
the inode to be locked, so the former cannot either.
So fix the documentation, remove the WARN_ON and fix the only caller to
not take the lock.
Signed-off-by: NeilBrown <neilb@suse.de>
Link: https://lore.kernel.org/r/174190517441.9342.5956460781380903128@noble.neil.brown.name
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/rust_is_available_test.py')
0 files changed, 0 insertions, 0 deletions