[PATCH for mm-unstable 0/3] Fix build errors due to folio_test_large() misuse

From: SeongJae Park
Date: Wed May 04 2022 - 16:08:17 EST


Several commits on 'mm-unstable' replaces 'PageTransHuge()' with
'folio_test_large()' instead of 'folio_test_transhuge()'. As a result,
several build errors occur when 'CONFIG_TRANSPARENT_HUGEPAGE' is unset.

This patchset fixes the issues by replacing the check to use
'folio_test_transhuge()'.

SeongJae Park (3):
mm/vmscan: Use folio_test_transhuge() for THP check
mm/shmem: Use folio_test_transhuge() for THP check
mm/shmem: Use folio_test_transhuge() for THP check

mm/shmem.c | 8 ++++----
mm/vmscan.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)

--
2.25.1