diff options
author | Johannes Berg <[email protected]> | 2023-11-24 17:25:25 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2023-11-27 11:24:50 +0100 |
commit | f4acfcd4deb158b96595250cc332901b282d15b0 (patch) | |
tree | bc06b650955d9bbc41bd889f8f497ecb92e1416b /scripts/rustdoc_test_builder.rs | |
parent | 0ed04a1847a10297595ac24dc7d46b35fb35f90a (diff) |
debugfs: annotate debugfs handlers vs. removal with lockdep
When you take a lock in a debugfs handler but also try
to remove the debugfs file under that lock, things can
deadlock since the removal has to wait for all users
to finish.
Add lockdep annotations in debugfs_file_get()/_put()
to catch such issues.
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions