mm: Fix READ_ONLY_THP warning
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 10 Oct 2020 15:47:55 +0000 (11:47 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 17:01:36 +0000 (13:01 -0400)
commit06d44142d49dc2e02d255ea9d72dc4c20f20388f
treeaaaeb9a75bb626b3eefbd9955a2727cfeb149fad
parentd68eccad370665830e16e5c77611fde78cd749b3
mm: Fix READ_ONLY_THP warning

These counters only exist if CONFIG_READ_ONLY_THP_FOR_FS is defined,
but we do not need to warn if the filesystem natively supports large
folios.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/pagemap.h