]> Git Repo - linux.git/commit - mm/shmem.c
huge tmpfs: move shmem_huge_enabled() upwards
authorHugh Dickins <[email protected]>
Thu, 2 Sep 2021 21:54:31 +0000 (14:54 -0700)
committerLinus Torvalds <[email protected]>
Fri, 3 Sep 2021 16:58:11 +0000 (09:58 -0700)
commitc852023e6fd4fa5f75175729e0b55abb062ca799
treeb0a91876cf0830aec2f401b75b2ec29ac7cd2d29
parentb9e2faaf6fa0df984d4ecca775f3629a4d5e599b
huge tmpfs: move shmem_huge_enabled() upwards

shmem_huge_enabled() is about to be enhanced into shmem_is_huge(), so that
it can be used more widely throughout: before making functional changes,
shift it to its final position (to avoid forward declaration).

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Hugh Dickins <[email protected]>
Reviewed-by: Yang Shi <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Miaohe Lin <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/shmem.c
This page took 0.053166 seconds and 4 git commands to generate.