diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-04-09 10:41:33 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-04-09 10:53:44 +0200 |
commit | 886b94d25a8eba4c42634dddc3cbfd6391a24d25 (patch) | |
tree | a40576d9af9ec4675b25920683f2cb2f80c521ac /net/unix/unix_bpf.c | |
parent | 629171657a2864d819a3bbecabe0a5e001d05c7a (diff) |
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>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions