Matthew Wilcox (Oracle) 886b94d25a
fs: Add FOP_HUGE_PAGES
Instead of checking for specific file_operations, add a bit to
file_operations which denotes a file that only contain hugetlb pages.
This lets us make hugetlbfs_file_operations static, and removes
is_file_shm_hugepages() completely.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20240407201122.3783877-1-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-04-09 10:53:44 +02:00
..
2024-03-18 14:59:13 -07:00
2020-08-19 14:13:52 +02:00
2024-04-09 10:53:44 +02:00
2019-11-15 14:38:27 +01:00
2023-12-20 19:26:31 -05:00