summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-01-10 00:51:24 +0000
committerVlastimil Babka <vbabka@suse.cz>2023-01-13 12:12:52 +0100
commitc034c6a45c977fdf33de5974d7def75bda9dcadc (patch)
treea13aac46e5704045bd6f49fab85b7668f203f53f /init
parent35e3c36d438e05fcd4f846c76cf22cbda9b63abb (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 <willy@infradead.org> Signed-off-by: SeongJae Park <sj@kernel.org> Reviewed-by: David Hildenbrand <david@redhat.com> Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions