]> www.infradead.org Git - users/jedix/linux-maple.git/commit
debugfs: fix missing mutex_destroy() in short_fops case
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Dec 2024 08:12:04 +0000 (08:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jan 2025 15:20:11 +0000 (16:20 +0100)
commit24edfbdedf19998366205130cfc93158a475497e
tree21deaaabbaec4a412e944d3a6907fb82bf7d38cf
parentf8f25893a477a4da4414c3e40ddd51d77fac9cfc
debugfs: fix missing mutex_destroy() in short_fops case

we need that in ->real_fops == NULL, ->short_fops != NULL case

Fixes: 8dc6d81c6b2a "debugfs: add small file operations for most files"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20241229081223.3193228-1-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/inode.c