diff options
author | 2025-02-21 09:42:32 +0100 | |
---|---|---|
committer | 2025-02-21 11:55:15 +0100 | |
commit | c5020c5be9d266f66fa5ba3286f0e8d2d2265970 (patch) | |
tree | f525fd4edc1c2cc8c8c01707df7552c0b72a3d03 /scripts/lib/kdoc/kdoc_parser.py | |
parent | efi: rci2: mark bin_attribute as __ro_after_init (diff) | |
download | wireguard-linux-c5020c5be9d266f66fa5ba3286f0e8d2d2265970.tar.xz wireguard-linux-c5020c5be9d266f66fa5ba3286f0e8d2d2265970.zip |
kernfs: Move dput() outside of the RCU section.
Al Viro pointed out that dput() might sleep and must not be invoked
within an RCU section.
Keep only find_next_ancestor() winthin the RCU section.
Correct the wording in the comment.
Fixes: 6ef5b6fae3040 ("kernfs: Drop kernfs_rwsem while invoking lookup_positive_unlocked().")
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20250221084232.xksA_IQ4@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions