Commit 713729e8 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

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

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2178426d
...@@ -19,11 +19,7 @@ ...@@ -19,11 +19,7 @@
* *
* adfs regular file handling primitives * adfs regular file handling primitives
*/ */
#include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/fcntl.h>
#include <linux/time.h>
#include <linux/stat.h>
#include <linux/buffer_head.h> /* for file_fsync() */ #include <linux/buffer_head.h> /* for file_fsync() */
#include <linux/adfs_fs.h> #include <linux/adfs_fs.h>
......
...@@ -12,10 +12,7 @@ ...@@ -12,10 +12,7 @@
* 27-06-1998 by Frank Denis : file overwriting. * 27-06-1998 by Frank Denis : file overwriting.
*/ */
#include <linux/config.h>
#include <linux/types.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/time.h>
#include <linux/qnx4_fs.h> #include <linux/qnx4_fs.h>
/* /*
......
...@@ -24,18 +24,7 @@ ...@@ -24,18 +24,7 @@
* caches is sufficient. * caches is sufficient.
*/ */
#include <linux/module.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/highmem.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/smp_lock.h>
#include <linux/backing-dev.h>
#include <linux/ramfs.h>
#include <asm/uaccess.h>
#include "internal.h"
struct address_space_operations ramfs_aops = { struct address_space_operations ramfs_aops = {
.readpage = simple_readpage, .readpage = simple_readpage,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment