]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vmscan: don't bother with debugfs_real_fops()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Jul 2025 21:17:39 +0000 (22:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:30:28 +0000 (13:30 +0200)
commita7694ff11aa9d97d0f690351a964544849e5158d
tree194dee72dacfbab7e5723d6ea135df2dd27ff6e6
parent460e36ee6f84c2df4d194ee788e3ca116e8c563b
vmscan: don't bother with debugfs_real_fops()

... not when it's used only to check which file is used;
debugfs_create_file_aux_num() allows to stash a number into
debugfs entry and debugfs_get_aux_num() extracts it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Braino-spotted-by: Matthew Wilcox <willy@infradead.org>
Link: https://lore.kernel.org/r/20250702211739.GE3406663@ZenIV
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/vmscan.c