[PATCH] fs/*/file.c: drop insane header dependencies
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 23 Mar 2006 11:01:01 +0000 (03:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:17 +0000 (07:38 -0800)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/adfs/file.c
fs/qnx4/file.c
fs/ramfs/file-mmu.c

index afebbfde6968c54afec13e412ac302f24e2cc6d6..6af10885f9d6d0449a8e6836eedbbede5794ff6b 100644 (file)
  *
  *  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>
 
index b471315e24ef2869a0365c844205ca536925ec01..c33963fded9eb94d0b209c48e60d7c7499a27a20 100644 (file)
  * 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>
 
 /*
index 2115383dcc8defec38df0c03917c68725f4ad1d7..6ada2095b9ac3609340138286cad2d1e35d0d0c1 100644 (file)
  * 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,