]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/vmscan: fix inverted polarity in lru_gen_seq_show()
authorDanilo Krummrich <dakr@kernel.org>
Sun, 27 Jul 2025 10:59:06 +0000 (12:59 +0200)
committerDanilo Krummrich <dakr@kernel.org>
Sun, 10 Aug 2025 17:02:56 +0000 (19:02 +0200)
commiteb5ca9094a18fb98777bf4814ea84c93bf7c271d
tree5be474173c8bac052a580c5575f83e0e8ca81ac0
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
mm/vmscan: fix inverted polarity in lru_gen_seq_show()

Commit a7694ff11aa9 ("vmscan: don't bother with debugfs_real_fops()")
started using debugfs_get_aux_num() to distinguish between the RW
"lru_gen" and the RO "lru_gen_full" file [1].

Willy reported the inverted polarity [2] and Al fixed it up in [3].

However, the patch in [1] was applied. Hence, fix this up accordingly.

Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/all/20250704040720.GP1880847@ZenIV/
Link: https://lore.kernel.org/all/aGZu3Z730FQtqxsE@casper.infradead.org/
Link: https://lore.kernel.org/all/20250704040720.GP1880847@ZenIV/
Fixes: a7694ff11aa9 ("vmscan: don't bother with debugfs_real_fops()")
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250727105937.7480-1-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
mm/vmscan.c