ext4: remove unused header files
authorSheng Yong <shengyong1@huawei.com>
Fri, 3 Apr 2015 03:47:42 +0000 (23:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 3 Apr 2015 03:47:42 +0000 (23:47 -0400)
Remove unused header files and header files which are included in
ext4.h.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
17 files changed:
fs/ext4/acl.c
fs/ext4/balloc.c
fs/ext4/bitmap.c
fs/ext4/block_validity.c
fs/ext4/dir.c
fs/ext4/extents_status.c
fs/ext4/file.c
fs/ext4/fsync.c
fs/ext4/hash.c
fs/ext4/ialloc.c
fs/ext4/inode.c
fs/ext4/ioctl.c
fs/ext4/namei.c
fs/ext4/page-io.c
fs/ext4/super.c
fs/ext4/symlink.c
fs/ext4/xattr.c

index d40c8dbbb0d66a3622915c68dc104841ab1f5753..69b1e73026a51f6b8ae0e591d33abb0fdc9169d8 100644 (file)
@@ -4,11 +4,6 @@
  * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
  */
 
-#include <linux/init.h>
-#include <linux/sched.h>
-#include <linux/slab.h>
-#include <linux/capability.h>
-#include <linux/fs.h>
 #include "ext4_jbd2.h"
 #include "ext4.h"
 #include "xattr.h"
index 83a6f497c4e0e6803345d4b69bde90504ffd02ce..9fadcf43342da4137e0e4c1c6e7b1f791a6ca32b 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/time.h>
 #include <linux/capability.h>
 #include <linux/fs.h>
-#include <linux/jbd2.h>
 #include <linux/quotaops.h>
 #include <linux/buffer_head.h>
 #include "ext4.h"
index b610779a958c32fbfa64696e554b62c1398cecd2..4a606afb171f04dc42064e7e7c8b09f4172281ed 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <linux/buffer_head.h>
-#include <linux/jbd2.h>
 #include "ext4.h"
 
 unsigned int ext4_count_free(char *bitmap, unsigned int numchars)
index 41eb9dcfac7e3ebc7b8e2099a80c892caabbfb19..3522340c7a99ca80857f969b391ade54456b422e 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/swap.h>
 #include <linux/pagemap.h>
 #include <linux/blkdev.h>
-#include <linux/mutex.h>
 #include <linux/slab.h>
 #include "ext4.h"
 
index c24143ea9c08e4e38823a42cecfb102e6d8db710..9e1e9e7869cbd2b7611a32b5b8042641ec7996b4 100644 (file)
  */
 
 #include <linux/fs.h>
-#include <linux/jbd2.h>
 #include <linux/buffer_head.h>
 #include <linux/slab.h>
-#include <linux/rbtree.h>
 #include "ext4.h"
 #include "xattr.h"
 
index e04d45733976efbcf942616bdaee78bd9b4e3192..d33d5a6852b9b97610a0bd365f014bc0a8094876 100644 (file)
@@ -9,12 +9,10 @@
  *
  * Ext4 extents status tree core functions.
  */
-#include <linux/rbtree.h>
 #include <linux/list_sort.h>
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include "ext4.h"
-#include "extents_status.h"
 
 #include <trace/events/ext4.h>
 
index 33a09da16c9ce1e8049fdcacdf3e8833410fd78f..fcc6c13491863c864628f5d4ed7cee69889f3fc0 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <linux/time.h>
 #include <linux/fs.h>
-#include <linux/jbd2.h>
 #include <linux/mount.h>
 #include <linux/path.h>
 #include <linux/aio.h>
index a8bc47f75fa0946582ce5562ebdea334cead1ac6..e9d632e9aa4b4e3cac9391d0cbf9fb2279d9285d 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/fs.h>
 #include <linux/sched.h>
 #include <linux/writeback.h>
-#include <linux/jbd2.h>
 #include <linux/blkdev.h>
 
 #include "ext4.h"
index 3d586f02883e604740105dd4da3a2cd99db178e3..e026aa941fd5a625db35ba0f1105e6cf025793ab 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <linux/fs.h>
-#include <linux/jbd2.h>
 #include <linux/cryptohash.h>
 #include "ext4.h"
 
index ac644c31ca67472f3a16f91c6107e3d06772f66f..6ab6f639c70b40a7c54d4212ffe86453cabcc895 100644 (file)
@@ -14,7 +14,6 @@
 
 #include <linux/time.h>
 #include <linux/fs.h>
-#include <linux/jbd2.h>
 #include <linux/stat.h>
 #include <linux/string.h>
 #include <linux/quotaops.h>
index 5cb9a212b86f3efd69ca604df07dc20b901dabb1..ff0c111e52eba044c5a94ff26b1d543eaa86bbe9 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <linux/fs.h>
 #include <linux/time.h>
-#include <linux/jbd2.h>
 #include <linux/highuid.h>
 #include <linux/pagemap.h>
 #include <linux/quotaops.h>
@@ -36,7 +35,6 @@
 #include <linux/kernel.h>
 #include <linux/printk.h>
 #include <linux/slab.h>
-#include <linux/ratelimit.h>
 #include <linux/aio.h>
 #include <linux/bitops.h>
 
index f58a0d106726100262aad4557fc91dd46f76ddf4..f1aa32c2277cce76080b32696373b5a2ba128ebe 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <linux/fs.h>
-#include <linux/jbd2.h>
 #include <linux/capability.h>
 #include <linux/time.h>
 #include <linux/compat.h>
index 8110dd20ad3f897be335fd54c7b414cfd8d31d96..efb64aee5b9e0969636871a1f253b0591c93104f 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <linux/fs.h>
 #include <linux/pagemap.h>
-#include <linux/jbd2.h>
 #include <linux/time.h>
 #include <linux/fcntl.h>
 #include <linux/stat.h>
index b24a2541a9baaa0d4c22e80a75050af2517a417d..5687e4750c1e35dd192507a400e0254967fd6737 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <linux/fs.h>
 #include <linux/time.h>
-#include <linux/jbd2.h>
 #include <linux/highuid.h>
 #include <linux/pagemap.h>
 #include <linux/quotaops.h>
@@ -25,7 +24,6 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/mm.h>
-#include <linux/ratelimit.h>
 
 #include "ext4_jbd2.h"
 #include "xattr.h"
index e061e66c82800f700b7642e4c82fa2cc836be05f..c681352f7c69b5af3b8be508364a036133b2a6ff 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/fs.h>
 #include <linux/time.h>
 #include <linux/vmalloc.h>
-#include <linux/jbd2.h>
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/blkdev.h>
index ff371193201841aa5ffee964e09d5862a8e25796..489b34333ea4b4848be9de1f7948182968400b76 100644 (file)
@@ -18,7 +18,6 @@
  */
 
 #include <linux/fs.h>
-#include <linux/jbd2.h>
 #include <linux/namei.h>
 #include "ext4.h"
 #include "xattr.h"
index 1e09fc77395ce0c7cc20496161f09cf0d6eefdbd..99a2cf858c8f63593c671fc3b0253ee28e5557d1 100644 (file)
@@ -55,7 +55,6 @@
 #include <linux/slab.h>
 #include <linux/mbcache.h>
 #include <linux/quotaops.h>
-#include <linux/rwsem.h>
 #include "ext4_jbd2.h"
 #include "ext4.h"
 #include "xattr.h"