Commit 713729e8b993cb880225e2ced50a3f5ac05c2b3f

Authored by Alexey Dobriyan
Committed by Linus Torvalds
1 parent 2178426d26

[PATCH] fs/*/file.c: drop insane header dependencies

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 3 changed files with 0 additions and 18 deletions Side-by-side Diff

... ... @@ -19,11 +19,7 @@
19 19 *
20 20 * adfs regular file handling primitives
21 21 */
22   -#include <linux/errno.h>
23 22 #include <linux/fs.h>
24   -#include <linux/fcntl.h>
25   -#include <linux/time.h>
26   -#include <linux/stat.h>
27 23 #include <linux/buffer_head.h> /* for file_fsync() */
28 24 #include <linux/adfs_fs.h>
29 25  
... ... @@ -12,10 +12,7 @@
12 12 * 27-06-1998 by Frank Denis : file overwriting.
13 13 */
14 14  
15   -#include <linux/config.h>
16   -#include <linux/types.h>
17 15 #include <linux/fs.h>
18   -#include <linux/time.h>
19 16 #include <linux/qnx4_fs.h>
20 17  
21 18 /*
... ... @@ -24,18 +24,7 @@
24 24 * caches is sufficient.
25 25 */
26 26  
27   -#include <linux/module.h>
28 27 #include <linux/fs.h>
29   -#include <linux/pagemap.h>
30   -#include <linux/highmem.h>
31   -#include <linux/init.h>
32   -#include <linux/string.h>
33   -#include <linux/smp_lock.h>
34   -#include <linux/backing-dev.h>
35   -#include <linux/ramfs.h>
36   -
37   -#include <asm/uaccess.h>
38   -#include "internal.h"
39 28  
40 29 struct address_space_operations ramfs_aops = {
41 30 .readpage = simple_readpage,