[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>
This commit is contained in:
committed by
Linus Torvalds
parent
2178426d26
commit
713729e8b9
@@ -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 @@
|
|||||||
* 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 @@
|
|||||||
* 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,
|
||||||
|
Reference in New Issue
Block a user