diff options
author | SeongJae Park <[email protected]> | 2023-01-10 00:51:24 +0000 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2023-01-13 12:12:52 +0100 |
commit | c034c6a45c977fdf33de5974d7def75bda9dcadc (patch) | |
tree | a13aac46e5704045bd6f49fab85b7668f203f53f /lib/memory-notifier-error-inject.c | |
parent | 35e3c36d438e05fcd4f846c76cf22cbda9b63abb (diff) |
mm/sl{a,u}b: fix wrong usages of folio_page() for getting head pages
The standard idiom for getting head page of a given folio is
'&folio->page', but some are wrongly using 'folio_page(folio, 0)' for
the purpose. Fix those to use the idiom.
Suggested-by: Matthew Wilcox <[email protected]>
Signed-off-by: SeongJae Park <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Hyeonggon Yoo <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions