summaryrefslogtreecommitdiffstats
path: root/samples/kfifo
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-11-24 17:25:25 +0100
committerJohannes Berg <johannes.berg@intel.com>2023-11-27 11:24:50 +0100
commitf4acfcd4deb158b96595250cc332901b282d15b0 (patch)
treebc06b650955d9bbc41bd889f8f497ecb92e1416b /samples/kfifo
parent0ed04a1847a10297595ac24dc7d46b35fb35f90a (diff)
downloadlinux-stable-f4acfcd4deb158b96595250cc332901b282d15b0.tar.gz
linux-stable-f4acfcd4deb158b96595250cc332901b282d15b0.tar.bz2
linux-stable-f4acfcd4deb158b96595250cc332901b282d15b0.zip
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>
Diffstat (limited to 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions