diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2025-02-21 08:42:32 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-21 10:55:15 +0000 |
| commit | c5020c5be9d266f66fa5ba3286f0e8d2d2265970 (patch) | |
| tree | f525fd4edc1c2cc8c8c01707df7552c0b72a3d03 /samples/rust/rust_driver_pci.rs | |
| parent | efi: rci2: mark bin_attribute as __ro_after_init (diff) | |
| download | kernel-c5020c5be9d266f66fa5ba3286f0e8d2d2265970.tar.gz kernel-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 <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_pci.rs')
0 files changed, 0 insertions, 0 deletions
