diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-09-02 20:26:39 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-11 16:22:31 -0700 |
commit | 36a3b14b5febdaf0e7f70c4ca6f62c8ea75fabfe (patch) | |
tree | 435005045bb6c67fb9cb1bb4deb8b33a9672ecd7 /mm/hwpoison-inject.c | |
parent | b9eb7776e8a64f9d53e8fa1cd27acb3024c74893 (diff) |
vmscan: check folio_test_private(), not folio_get_private()
These two predicates are the same for file pages, but are not the same for
anonymous pages.
Link: https://lkml.kernel.org/r/20220902192639.1737108-3-willy@infradead.org
Fixes: 07f67a8dedc0 ("mm/vmscan: convert shrink_active_list() to use a folio")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reported-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hwpoison-inject.c')
0 files changed, 0 insertions, 0 deletions