fs/Kconfig: make hugetlbfs a menuconfig
authorPeter Xu <peterx@redhat.com>
Fri, 24 Nov 2023 15:19:02 +0000 (10:19 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 00:51:51 +0000 (16:51 -0800)
commitcddba0af0b7919e93134469f6fdf29a7d362768a
tree1a6f64ff1eea72f7feddc76aadc80c0ecce00c23
parent01846c6c70257efc0969c0394e496673040627ec
fs/Kconfig: make hugetlbfs a menuconfig

Hugetlb vmemmap default option (HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON)
is a sub-option to hugetlbfs, but it shows in the same level as hugetlbfs
itself, under "Pesudo filesystems".

Make the vmemmap option a sub-option to hugetlbfs, by changing hugetlbfs
into a menuconfig.  When moving it, fix a typo 'v' spot by Randy.

Link: https://lkml.kernel.org/r/20231124151902.1075697-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/Kconfig