diff options
-rw-r--r-- | fs/autofs/autofs_i.h | 2 | ||||
-rw-r--r-- | fs/autofs/dev-ioctl.c | 13 | ||||
-rw-r--r-- | fs/autofs/inode.c | 6 | ||||
-rw-r--r-- | fs/autofs/root.c | 6 | ||||
-rw-r--r-- | fs/autofs/waitq.c | 4 | ||||
-rw-r--r-- | fs/compat_ioctl.c | 1 |
6 files changed, 2 insertions, 30 deletions
diff --git a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h index 9110b66c7ef1..9400a9f6318a 100644 --- a/fs/autofs/autofs_i.h +++ b/fs/autofs/autofs_i.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/spinlock.h> | 25 | #include <linux/spinlock.h> |
26 | #include <linux/list.h> | 26 | #include <linux/list.h> |
27 | #include <linux/completion.h> | 27 | #include <linux/completion.h> |
28 | #include <asm/current.h> | 28 | #include <linux/file.h> |
29 | 29 | ||
30 | /* This is the range of ioctl() numbers we claim as ours */ | 30 | /* This is the range of ioctl() numbers we claim as ours */ |
31 | #define AUTOFS_IOC_FIRST AUTOFS_IOC_READY | 31 | #define AUTOFS_IOC_FIRST AUTOFS_IOC_READY |
diff --git a/fs/autofs/dev-ioctl.c b/fs/autofs/dev-ioctl.c index a2281ab2b957..ea4ca1445ab7 100644 --- a/fs/autofs/dev-ioctl.c +++ b/fs/autofs/dev-ioctl.c | |||
@@ -7,23 +7,10 @@ | |||
7 | * option, any later version, incorporated herein by reference. | 7 | * option, any later version, incorporated herein by reference. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/module.h> | ||
11 | #include <linux/vmalloc.h> | ||
12 | #include <linux/miscdevice.h> | 10 | #include <linux/miscdevice.h> |
13 | #include <linux/init.h> | ||
14 | #include <linux/wait.h> | ||
15 | #include <linux/namei.h> | ||
16 | #include <linux/fcntl.h> | ||
17 | #include <linux/file.h> | ||
18 | #include <linux/fdtable.h> | ||
19 | #include <linux/sched.h> | ||
20 | #include <linux/cred.h> | ||
21 | #include <linux/compat.h> | 11 | #include <linux/compat.h> |
22 | #include <linux/syscalls.h> | 12 | #include <linux/syscalls.h> |
23 | #include <linux/magic.h> | 13 | #include <linux/magic.h> |
24 | #include <linux/dcache.h> | ||
25 | #include <linux/uaccess.h> | ||
26 | #include <linux/slab.h> | ||
27 | 14 | ||
28 | #include "autofs_i.h" | 15 | #include "autofs_i.h" |
29 | 16 | ||
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c index 6262819ede45..b51980fc274e 100644 --- a/fs/autofs/inode.c +++ b/fs/autofs/inode.c | |||
@@ -7,16 +7,12 @@ | |||
7 | * option, any later version, incorporated herein by reference. | 7 | * option, any later version, incorporated herein by reference. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/kernel.h> | ||
11 | #include <linux/slab.h> | ||
12 | #include <linux/file.h> | ||
13 | #include <linux/seq_file.h> | 10 | #include <linux/seq_file.h> |
14 | #include <linux/pagemap.h> | 11 | #include <linux/pagemap.h> |
15 | #include <linux/parser.h> | 12 | #include <linux/parser.h> |
16 | #include <linux/bitops.h> | ||
17 | #include <linux/magic.h> | 13 | #include <linux/magic.h> |
14 | |||
18 | #include "autofs_i.h" | 15 | #include "autofs_i.h" |
19 | #include <linux/module.h> | ||
20 | 16 | ||
21 | struct autofs_info *autofs_new_ino(struct autofs_sb_info *sbi) | 17 | struct autofs_info *autofs_new_ino(struct autofs_sb_info *sbi) |
22 | { | 18 | { |
diff --git a/fs/autofs/root.c b/fs/autofs/root.c index a4b36e44f73c..a3d414150578 100644 --- a/fs/autofs/root.c +++ b/fs/autofs/root.c | |||
@@ -9,13 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/capability.h> | 11 | #include <linux/capability.h> |
12 | #include <linux/errno.h> | ||
13 | #include <linux/stat.h> | ||
14 | #include <linux/slab.h> | ||
15 | #include <linux/param.h> | ||
16 | #include <linux/time.h> | ||
17 | #include <linux/compat.h> | 12 | #include <linux/compat.h> |
18 | #include <linux/mutex.h> | ||
19 | 13 | ||
20 | #include "autofs_i.h" | 14 | #include "autofs_i.h" |
21 | 15 | ||
diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index 8a566fa66afe..8c858126c751 100644 --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c | |||
@@ -7,11 +7,7 @@ | |||
7 | * option, any later version, incorporated herein by reference. | 7 | * option, any later version, incorporated herein by reference. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/slab.h> | ||
11 | #include <linux/time.h> | ||
12 | #include <linux/signal.h> | ||
13 | #include <linux/sched/signal.h> | 10 | #include <linux/sched/signal.h> |
14 | #include <linux/file.h> | ||
15 | #include "autofs_i.h" | 11 | #include "autofs_i.h" |
16 | 12 | ||
17 | /* We make this a static variable rather than a part of the superblock; it | 13 | /* We make this a static variable rather than a part of the superblock; it |
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index b3e1768b636e..9907475b4226 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <linux/ppp-ioctl.h> | 38 | #include <linux/ppp-ioctl.h> |
39 | #include <linux/if_pppox.h> | 39 | #include <linux/if_pppox.h> |
40 | #include <linux/mtio.h> | 40 | #include <linux/mtio.h> |
41 | #include <linux/auto_fs.h> | ||
42 | #include <linux/tty.h> | 41 | #include <linux/tty.h> |
43 | #include <linux/vt_kern.h> | 42 | #include <linux/vt_kern.h> |
44 | #include <linux/fb.h> | 43 | #include <linux/fb.h> |