diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-11-30 13:53:07 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:57:37 +0100 |
commit | d38c32070ce1f4cbf0a1b57e3024d9d7188da852 (patch) | |
tree | 6a694b9eaf9119ea65bd1cfb4e978d6d1b0ecd56 | |
parent | 5dd3d344ba5e3ed8b4549b40dac0097a8e62567c (diff) | |
download | tip-d38c32070ce1f4cbf0a1b57e3024d9d7188da852.tar.gz |
headers/deps: fs: Optimize <linux/fs_api.h> dependencies, remove <linux/xarray_api.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <linux/fs_api.h> | LOC: 10,591 | headers: 265
after: | #include <linux/fs_api.h> | LOC: 9,653 | headers: 253
Fix up dangling dependencies.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | include/linux/fs_api.h | 1 | ||||
-rw-r--r-- | include/linux/pagemap.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs_api.h b/include/linux/fs_api.h index e3195701a0d4d0..e1a8442e054fc7 100644 --- a/include/linux/fs_api.h +++ b/include/linux/fs_api.h @@ -2,7 +2,6 @@ #ifndef _LINUX_FS_API_H #define _LINUX_FS_API_H -#include <linux/xarray_api.h> #include <linux/atomic_api.h> #include <linux/fs_types.h> diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 282f09a01a9935..9f4efbc53059d6 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -5,6 +5,7 @@ /* * Copyright 1995 Linus Torvalds */ +#include <linux/xarray_api.h> #include <linux/mm_page_address.h> #include <linux/huge_mm.h> #include <linux/mm_api.h> |