提交 713729e8 编写于 作者: A Alexey Dobriyan 提交者: Linus Torvalds

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

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 2178426d
......@@ -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>
......
......@@ -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>
/*
......
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册