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>
Tue, 1 Mar 2022 02:01:35 +0000 (21:01 -0500)
commite946e49e46f818591a9582192532c98cd6207719
tree8eb1862021217ff35fca07f7f973b51b5839dcf6
parentf54f3436d4131814cf9898633f8062172c57b434
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