aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-11-30 16:40:25 +0100
committerIngo Molnar <mingo@kernel.org>2022-03-15 12:57:38 +0100
commit064be9bbc44b145ebc0d48aba48d96db7674b6c8 (patch)
treee26c0b6a45f76ff6df076fea3dee97efcb9426b8
parent21fead4d5c7460c40803a76f6c1f4fc746e888a5 (diff)
downloadtip-064be9bbc44b145ebc0d48aba48d96db7674b6c8.tar.gz
headers/deps: fs: Optimize <linux/fs_types.h> dependencies, remove <linux/shrinker.h> inclusion
-------------------------------------------------------------------- | Combined, preprocessed C code size of header, without line markers, | with comments stripped: ------------------------- before: | #include <linux/fs_types.h> | LOC: 2,312 | headers: 138 after: | #include <linux/fs_types.h> | LOC: 2,288 | headers: 137 Fix up dangling dependencies. Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--include/linux/fs_types.h2
-rw-r--r--include/linux/fs_types_sb.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs_types.h b/include/linux/fs_types.h
index 2c34a60647e13d..f58d7bbbf45a53 100644
--- a/include/linux/fs_types.h
+++ b/include/linux/fs_types.h
@@ -16,7 +16,6 @@
#include <linux/workqueue_types.h>
#include <linux/mutex_types.h>
#include <linux/llist_types.h>
-#include <linux/shrinker.h>
#include <linux/wait_types.h>
#include <uapi/linux/fs.h>
@@ -69,6 +68,7 @@ struct fs_context;
struct fs_parameter_spec;
struct fileattr;
struct delayed_call;
+struct shrink_control;
extern unsigned int sysctl_nr_open;
diff --git a/include/linux/fs_types_sb.h b/include/linux/fs_types_sb.h
index ba47b9675d64ed..6be1a714e85f04 100644
--- a/include/linux/fs_types_sb.h
+++ b/include/linux/fs_types_sb.h
@@ -7,6 +7,7 @@
#include <linux/percpu_rwsem_types.h>
#include <linux/list_bl_types.h>
#include <linux/list_lru_types.h>
+#include <linux/shrinker.h>
/*
* sb->s_flags. Note that these mirror the equivalent MS_* flags where