linux-stable/fs/debugfs
Johannes Berg f4acfcd4de 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 <gregkh@linuxfoundation.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-11-27 11:24:50 +01:00
..
file.c debugfs: annotate debugfs handlers vs. removal with lockdep 2023-11-27 11:24:50 +01:00
inode.c debugfs: annotate debugfs handlers vs. removal with lockdep 2023-11-27 11:24:50 +01:00
internal.h debugfs: annotate debugfs handlers vs. removal with lockdep 2023-11-27 11:24:50 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00