]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
resctrl: get rid of pointless debugfs_file_{get,put}()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Jul 2025 21:16:50 +0000 (22:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:30:28 +0000 (13:30 +0200)
commit460e36ee6f84c2df4d194ee788e3ca116e8c563b
tree73ff925fad37dbbc32a1827e14a6849c3713b823
parent8009fb751d2c355b4fb83ca158c6b75590d3a3c1
resctrl: get rid of pointless debugfs_file_{get,put}()

->write() of file_operations that gets used only via debugfs_create_file()
is called only under debugfs_file_get()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lore.kernel.org/r/20250702211650.GD3406663@ZenIV
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/resctrl/pseudo_lock.c