Skip to content

Commit

Permalink
[PATCH] fs/*/file.c: drop insane header dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Mar 23, 2006
1 parent 2178426 commit 713729e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
4 changes: 0 additions & 4 deletions fs/adfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
*
* adfs regular file handling primitives
*/
#include <linux/errno.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/adfs_fs.h>

Expand Down
3 changes: 0 additions & 3 deletions fs/qnx4/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
* 27-06-1998 by Frank Denis : file overwriting.
*/

#include <linux/config.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/time.h>
#include <linux/qnx4_fs.h>

/*
Expand Down
11 changes: 0 additions & 11 deletions fs/ramfs/file-mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,7 @@
* caches is sufficient.
*/

#include <linux/module.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 = {
.readpage = simple_readpage,
Expand Down

0 comments on commit 713729e

Please sign in to comment.