summaryrefslogtreecommitdiffstats
path: root/fs/fat/inode.c
diff options
context:
space:
mode:
authorAlexander Kuleshov2015-04-16 21:47:24 +0200
committerLinus Torvalds2015-04-17 15:04:06 +0200
commit58932ef7f2f28e89ee37c6e2be94885e5078ba77 (patch)
tree081998d8a8d81d1a131e7120227be65ccf754698 /fs/fat/inode.c
parentfs/fat: remove unnecessary defintion (diff)
downloadkernel-qcow2-linux-58932ef7f2f28e89ee37c6e2be94885e5078ba77.tar.gz
kernel-qcow2-linux-58932ef7f2f28e89ee37c6e2be94885e5078ba77.tar.xz
kernel-qcow2-linux-58932ef7f2f28e89ee37c6e2be94885e5078ba77.zip
fs/fat: remove unnecessary includes
'fat.h' includes <linux/buffer_head.h> which includes <linux/fs.h> which includes all the header files required for all *.c files fat filesystem. [akpm@linux-foundation.org: fs/fat/iode.c needs seq_file.h] [sfr@canb.auug.org.au: put one actually necessary include file back] Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r--fs/fat/inode.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index b3a2a0e1ef9b..d1a26c2de919 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -11,20 +11,12 @@
*/
#include <linux/module.h>
-#include <linux/init.h>
-#include <linux/time.h>
-#include <linux/slab.h>
-#include <linux/seq_file.h>
#include <linux/pagemap.h>
#include <linux/mpage.h>
-#include <linux/buffer_head.h>
-#include <linux/mount.h>
#include <linux/vfs.h>
+#include <linux/seq_file.h>
#include <linux/parser.h>
#include <linux/uio.h>
-#include <linux/writeback.h>
-#include <linux/log2.h>
-#include <linux/hash.h>
#include <linux/blkdev.h>
#include <asm/unaligned.h>
#include "fat.h"