diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2019-06-28 22:30:43 -0400 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-28 22:30:43 -0400 |
commit | 250d4b4c409778bc44577dfc59909935c92fd006 (patch) | |
tree | e267e7a98e416007767694883b5138eb963654d9 | |
parent | adfb5fb46af059387eca0fce1d8cd8733f9ee3a0 (diff) |
xfs: remove unused header files
There are many, many xfs header files which are included but
unneeded (or included twice) in the xfs code, so remove them.
nb: xfs_linux.h includes about 9 headers for everyone, so those
explicit includes get removed by this. I'm not sure what the
preference is, but if we wanted explicit includes everywhere,
a followup patch could remove those xfs_*.h includes from
xfs_linux.h and move them into the files that need them.
Or it could be left as-is.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
113 files changed, 0 insertions, 570 deletions
diff --git a/fs/xfs/kmem.c b/fs/xfs/kmem.c index fdd9d6ede25c..16bb9a328678 100644 --- a/fs/xfs/kmem.c +++ b/fs/xfs/kmem.c | |||
@@ -3,12 +3,7 @@ | |||
3 | * Copyright (c) 2000-2005 Silicon Graphics, Inc. | 3 | * Copyright (c) 2000-2005 Silicon Graphics, Inc. |
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include <linux/mm.h> | ||
7 | #include <linux/sched/mm.h> | 6 | #include <linux/sched/mm.h> |
8 | #include <linux/highmem.h> | ||
9 | #include <linux/slab.h> | ||
10 | #include <linux/swap.h> | ||
11 | #include <linux/blkdev.h> | ||
12 | #include <linux/backing-dev.h> | 7 | #include <linux/backing-dev.h> |
13 | #include "kmem.h" | 8 | #include "kmem.h" |
14 | #include "xfs_message.h" | 9 | #include "xfs_message.h" |
diff --git a/fs/xfs/libxfs/xfs_ag_resv.c b/fs/xfs/libxfs/xfs_ag_resv.c index e2ba2a3b63b2..87a9747f1d36 100644 --- a/fs/xfs/libxfs/xfs_ag_resv.c +++ b/fs/xfs/libxfs/xfs_ag_resv.c | |||
@@ -9,20 +9,12 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_sb.h" | ||
13 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | ||
15 | #include "xfs_alloc.h" | 13 | #include "xfs_alloc.h" |
16 | #include "xfs_errortag.h" | 14 | #include "xfs_errortag.h" |
17 | #include "xfs_error.h" | 15 | #include "xfs_error.h" |
18 | #include "xfs_trace.h" | 16 | #include "xfs_trace.h" |
19 | #include "xfs_cksum.h" | ||
20 | #include "xfs_trans.h" | 17 | #include "xfs_trans.h" |
21 | #include "xfs_bit.h" | ||
22 | #include "xfs_bmap.h" | ||
23 | #include "xfs_bmap_btree.h" | ||
24 | #include "xfs_ag_resv.h" | ||
25 | #include "xfs_trans_space.h" | ||
26 | #include "xfs_rmap_btree.h" | 18 | #include "xfs_rmap_btree.h" |
27 | #include "xfs_btree.h" | 19 | #include "xfs_btree.h" |
28 | #include "xfs_refcount_btree.h" | 20 | #include "xfs_refcount_btree.h" |
diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c index 6fc22b698230..ae2d91b0e9e9 100644 --- a/fs/xfs/libxfs/xfs_alloc.c +++ b/fs/xfs/libxfs/xfs_alloc.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include "xfs_sb.h" | 13 | #include "xfs_sb.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | 15 | #include "xfs_defer.h" |
16 | #include "xfs_inode.h" | ||
17 | #include "xfs_btree.h" | 16 | #include "xfs_btree.h" |
18 | #include "xfs_rmap.h" | 17 | #include "xfs_rmap.h" |
19 | #include "xfs_alloc_btree.h" | 18 | #include "xfs_alloc_btree.h" |
@@ -21,7 +20,6 @@ | |||
21 | #include "xfs_extent_busy.h" | 20 | #include "xfs_extent_busy.h" |
22 | #include "xfs_errortag.h" | 21 | #include "xfs_errortag.h" |
23 | #include "xfs_error.h" | 22 | #include "xfs_error.h" |
24 | #include "xfs_cksum.h" | ||
25 | #include "xfs_trace.h" | 23 | #include "xfs_trace.h" |
26 | #include "xfs_trans.h" | 24 | #include "xfs_trans.h" |
27 | #include "xfs_buf_item.h" | 25 | #include "xfs_buf_item.h" |
diff --git a/fs/xfs/libxfs/xfs_alloc_btree.c b/fs/xfs/libxfs/xfs_alloc_btree.c index 9b2786ee4081..2a94543857a1 100644 --- a/fs/xfs/libxfs/xfs_alloc_btree.c +++ b/fs/xfs/libxfs/xfs_alloc_btree.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include "xfs_extent_busy.h" | 17 | #include "xfs_extent_busy.h" |
18 | #include "xfs_error.h" | 18 | #include "xfs_error.h" |
19 | #include "xfs_trace.h" | 19 | #include "xfs_trace.h" |
20 | #include "xfs_cksum.h" | ||
21 | #include "xfs_trans.h" | 20 | #include "xfs_trans.h" |
22 | 21 | ||
23 | 22 | ||
diff --git a/fs/xfs/libxfs/xfs_attr.c b/fs/xfs/libxfs/xfs_attr.c index c441f41f14e8..d48fcf11cc35 100644 --- a/fs/xfs/libxfs/xfs_attr.c +++ b/fs/xfs/libxfs/xfs_attr.c | |||
@@ -9,23 +9,18 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | ||
13 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | 13 | #include "xfs_defer.h" |
15 | #include "xfs_da_format.h" | 14 | #include "xfs_da_format.h" |
16 | #include "xfs_da_btree.h" | 15 | #include "xfs_da_btree.h" |
17 | #include "xfs_attr_sf.h" | 16 | #include "xfs_attr_sf.h" |
18 | #include "xfs_inode.h" | 17 | #include "xfs_inode.h" |
19 | #include "xfs_alloc.h" | ||
20 | #include "xfs_trans.h" | 18 | #include "xfs_trans.h" |
21 | #include "xfs_inode_item.h" | ||
22 | #include "xfs_bmap.h" | 19 | #include "xfs_bmap.h" |
23 | #include "xfs_bmap_util.h" | ||
24 | #include "xfs_bmap_btree.h" | 20 | #include "xfs_bmap_btree.h" |
25 | #include "xfs_attr.h" | 21 | #include "xfs_attr.h" |
26 | #include "xfs_attr_leaf.h" | 22 | #include "xfs_attr_leaf.h" |
27 | #include "xfs_attr_remote.h" | 23 | #include "xfs_attr_remote.h" |
28 | #include "xfs_error.h" | ||
29 | #include "xfs_quota.h" | 24 | #include "xfs_quota.h" |
30 | #include "xfs_trans_space.h" | 25 | #include "xfs_trans_space.h" |
31 | #include "xfs_trace.h" | 26 | #include "xfs_trace.h" |
diff --git a/fs/xfs/libxfs/xfs_attr_leaf.c b/fs/xfs/libxfs/xfs_attr_leaf.c index 654a599a3754..70eb941d02e4 100644 --- a/fs/xfs/libxfs/xfs_attr_leaf.c +++ b/fs/xfs/libxfs/xfs_attr_leaf.c | |||
@@ -10,14 +10,12 @@ | |||
10 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_bit.h" | ||
14 | #include "xfs_sb.h" | 13 | #include "xfs_sb.h" |
15 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
16 | #include "xfs_da_format.h" | 15 | #include "xfs_da_format.h" |
17 | #include "xfs_da_btree.h" | 16 | #include "xfs_da_btree.h" |
18 | #include "xfs_inode.h" | 17 | #include "xfs_inode.h" |
19 | #include "xfs_trans.h" | 18 | #include "xfs_trans.h" |
20 | #include "xfs_inode_item.h" | ||
21 | #include "xfs_bmap_btree.h" | 19 | #include "xfs_bmap_btree.h" |
22 | #include "xfs_bmap.h" | 20 | #include "xfs_bmap.h" |
23 | #include "xfs_attr_sf.h" | 21 | #include "xfs_attr_sf.h" |
@@ -27,7 +25,6 @@ | |||
27 | #include "xfs_error.h" | 25 | #include "xfs_error.h" |
28 | #include "xfs_trace.h" | 26 | #include "xfs_trace.h" |
29 | #include "xfs_buf_item.h" | 27 | #include "xfs_buf_item.h" |
30 | #include "xfs_cksum.h" | ||
31 | #include "xfs_dir2.h" | 28 | #include "xfs_dir2.h" |
32 | #include "xfs_log.h" | 29 | #include "xfs_log.h" |
33 | 30 | ||
diff --git a/fs/xfs/libxfs/xfs_attr_remote.c b/fs/xfs/libxfs/xfs_attr_remote.c index 869bda380eb0..4eb30d357045 100644 --- a/fs/xfs/libxfs/xfs_attr_remote.c +++ b/fs/xfs/libxfs/xfs_attr_remote.c | |||
@@ -16,18 +16,10 @@ | |||
16 | #include "xfs_da_format.h" | 16 | #include "xfs_da_format.h" |
17 | #include "xfs_da_btree.h" | 17 | #include "xfs_da_btree.h" |
18 | #include "xfs_inode.h" | 18 | #include "xfs_inode.h" |
19 | #include "xfs_alloc.h" | ||
20 | #include "xfs_trans.h" | 19 | #include "xfs_trans.h" |
21 | #include "xfs_inode_item.h" | ||
22 | #include "xfs_bmap.h" | 20 | #include "xfs_bmap.h" |
23 | #include "xfs_bmap_util.h" | ||
24 | #include "xfs_attr.h" | 21 | #include "xfs_attr.h" |
25 | #include "xfs_attr_leaf.h" | ||
26 | #include "xfs_attr_remote.h" | ||
27 | #include "xfs_trans_space.h" | ||
28 | #include "xfs_trace.h" | 22 | #include "xfs_trace.h" |
29 | #include "xfs_cksum.h" | ||
30 | #include "xfs_buf_item.h" | ||
31 | #include "xfs_error.h" | 23 | #include "xfs_error.h" |
32 | 24 | ||
33 | #define ATTR_RMTVALUE_MAPSIZE 1 /* # of map entries at once */ | 25 | #define ATTR_RMTVALUE_MAPSIZE 1 /* # of map entries at once */ |
diff --git a/fs/xfs/libxfs/xfs_bit.c b/fs/xfs/libxfs/xfs_bit.c index 40ce5f3094d1..7071ff98fdbc 100644 --- a/fs/xfs/libxfs/xfs_bit.c +++ b/fs/xfs/libxfs/xfs_bit.c | |||
@@ -5,7 +5,6 @@ | |||
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_log_format.h" | 7 | #include "xfs_log_format.h" |
8 | #include "xfs_bit.h" | ||
9 | 8 | ||
10 | /* | 9 | /* |
11 | * XFS bit manipulation routines, used in non-realtime code. | 10 | * XFS bit manipulation routines, used in non-realtime code. |
diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c index 4133bc461e3e..baf0b72c0a37 100644 --- a/fs/xfs/libxfs/xfs_bmap.c +++ b/fs/xfs/libxfs/xfs_bmap.c | |||
@@ -13,14 +13,10 @@ | |||
13 | #include "xfs_sb.h" | 13 | #include "xfs_sb.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | 15 | #include "xfs_defer.h" |
16 | #include "xfs_da_format.h" | ||
17 | #include "xfs_da_btree.h" | ||
18 | #include "xfs_dir2.h" | 16 | #include "xfs_dir2.h" |
19 | #include "xfs_inode.h" | 17 | #include "xfs_inode.h" |
20 | #include "xfs_btree.h" | 18 | #include "xfs_btree.h" |
21 | #include "xfs_trans.h" | 19 | #include "xfs_trans.h" |
22 | #include "xfs_inode_item.h" | ||
23 | #include "xfs_extfree_item.h" | ||
24 | #include "xfs_alloc.h" | 20 | #include "xfs_alloc.h" |
25 | #include "xfs_bmap.h" | 21 | #include "xfs_bmap.h" |
26 | #include "xfs_bmap_util.h" | 22 | #include "xfs_bmap_util.h" |
@@ -32,7 +28,6 @@ | |||
32 | #include "xfs_trans_space.h" | 28 | #include "xfs_trans_space.h" |
33 | #include "xfs_buf_item.h" | 29 | #include "xfs_buf_item.h" |
34 | #include "xfs_trace.h" | 30 | #include "xfs_trace.h" |
35 | #include "xfs_symlink.h" | ||
36 | #include "xfs_attr_leaf.h" | 31 | #include "xfs_attr_leaf.h" |
37 | #include "xfs_filestream.h" | 32 | #include "xfs_filestream.h" |
38 | #include "xfs_rmap.h" | 33 | #include "xfs_rmap.h" |
diff --git a/fs/xfs/libxfs/xfs_bmap_btree.c b/fs/xfs/libxfs/xfs_bmap_btree.c index e6100bd3ec62..fbb18ba5d905 100644 --- a/fs/xfs/libxfs/xfs_bmap_btree.c +++ b/fs/xfs/libxfs/xfs_bmap_btree.c | |||
@@ -11,10 +11,8 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | ||
15 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
16 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
17 | #include "xfs_inode_item.h" | ||
18 | #include "xfs_alloc.h" | 16 | #include "xfs_alloc.h" |
19 | #include "xfs_btree.h" | 17 | #include "xfs_btree.h" |
20 | #include "xfs_bmap_btree.h" | 18 | #include "xfs_bmap_btree.h" |
@@ -22,7 +20,6 @@ | |||
22 | #include "xfs_error.h" | 20 | #include "xfs_error.h" |
23 | #include "xfs_quota.h" | 21 | #include "xfs_quota.h" |
24 | #include "xfs_trace.h" | 22 | #include "xfs_trace.h" |
25 | #include "xfs_cksum.h" | ||
26 | #include "xfs_rmap.h" | 23 | #include "xfs_rmap.h" |
27 | 24 | ||
28 | /* | 25 | /* |
diff --git a/fs/xfs/libxfs/xfs_btree.c b/fs/xfs/libxfs/xfs_btree.c index 84c1c3dc54f6..f1048efa4268 100644 --- a/fs/xfs/libxfs/xfs_btree.c +++ b/fs/xfs/libxfs/xfs_btree.c | |||
@@ -11,16 +11,13 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | ||
15 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
16 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
17 | #include "xfs_inode_item.h" | ||
18 | #include "xfs_buf_item.h" | 16 | #include "xfs_buf_item.h" |
19 | #include "xfs_btree.h" | 17 | #include "xfs_btree.h" |
20 | #include "xfs_errortag.h" | 18 | #include "xfs_errortag.h" |
21 | #include "xfs_error.h" | 19 | #include "xfs_error.h" |
22 | #include "xfs_trace.h" | 20 | #include "xfs_trace.h" |
23 | #include "xfs_cksum.h" | ||
24 | #include "xfs_alloc.h" | 21 | #include "xfs_alloc.h" |
25 | #include "xfs_log.h" | 22 | #include "xfs_log.h" |
26 | 23 | ||
diff --git a/fs/xfs/libxfs/xfs_da_btree.c b/fs/xfs/libxfs/xfs_da_btree.c index 224631d66ade..d1c77fd0815d 100644 --- a/fs/xfs/libxfs/xfs_da_btree.c +++ b/fs/xfs/libxfs/xfs_da_btree.c | |||
@@ -12,20 +12,14 @@ | |||
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_bit.h" | 13 | #include "xfs_bit.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_da_format.h" | ||
16 | #include "xfs_da_btree.h" | ||
17 | #include "xfs_dir2.h" | 15 | #include "xfs_dir2.h" |
18 | #include "xfs_dir2_priv.h" | 16 | #include "xfs_dir2_priv.h" |
19 | #include "xfs_inode.h" | 17 | #include "xfs_inode.h" |
20 | #include "xfs_trans.h" | 18 | #include "xfs_trans.h" |
21 | #include "xfs_inode_item.h" | ||
22 | #include "xfs_alloc.h" | ||
23 | #include "xfs_bmap.h" | 19 | #include "xfs_bmap.h" |
24 | #include "xfs_attr.h" | ||
25 | #include "xfs_attr_leaf.h" | 20 | #include "xfs_attr_leaf.h" |
26 | #include "xfs_error.h" | 21 | #include "xfs_error.h" |
27 | #include "xfs_trace.h" | 22 | #include "xfs_trace.h" |
28 | #include "xfs_cksum.h" | ||
29 | #include "xfs_buf_item.h" | 23 | #include "xfs_buf_item.h" |
30 | #include "xfs_log.h" | 24 | #include "xfs_log.h" |
31 | 25 | ||
diff --git a/fs/xfs/libxfs/xfs_da_format.c b/fs/xfs/libxfs/xfs_da_format.c index b39053dcb643..b1ae572496b6 100644 --- a/fs/xfs/libxfs/xfs_da_format.c +++ b/fs/xfs/libxfs/xfs_da_format.c | |||
@@ -11,11 +11,8 @@ | |||
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_da_btree.h" | ||
16 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
17 | #include "xfs_dir2.h" | 15 | #include "xfs_dir2.h" |
18 | #include "xfs_dir2_priv.h" | ||
19 | 16 | ||
20 | /* | 17 | /* |
21 | * Shortform directory ops | 18 | * Shortform directory ops |
diff --git a/fs/xfs/libxfs/xfs_defer.c b/fs/xfs/libxfs/xfs_defer.c index 1c6bf2105939..eb2be2a6a25a 100644 --- a/fs/xfs/libxfs/xfs_defer.c +++ b/fs/xfs/libxfs/xfs_defer.c | |||
@@ -9,8 +9,6 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | ||
13 | #include "xfs_sb.h" | ||
14 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | 13 | #include "xfs_defer.h" |
16 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
diff --git a/fs/xfs/libxfs/xfs_dir2.c b/fs/xfs/libxfs/xfs_dir2.c index b25f75032baa..67840723edbb 100644 --- a/fs/xfs/libxfs/xfs_dir2.c +++ b/fs/xfs/libxfs/xfs_dir2.c | |||
@@ -10,16 +10,11 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_defer.h" | ||
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_da_btree.h" | ||
16 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
17 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
18 | #include "xfs_inode_item.h" | ||
19 | #include "xfs_bmap.h" | 15 | #include "xfs_bmap.h" |
20 | #include "xfs_dir2.h" | 16 | #include "xfs_dir2.h" |
21 | #include "xfs_dir2_priv.h" | 17 | #include "xfs_dir2_priv.h" |
22 | #include "xfs_ialloc.h" | ||
23 | #include "xfs_errortag.h" | 18 | #include "xfs_errortag.h" |
24 | #include "xfs_error.h" | 19 | #include "xfs_error.h" |
25 | #include "xfs_trace.h" | 20 | #include "xfs_trace.h" |
diff --git a/fs/xfs/libxfs/xfs_dir2_block.c b/fs/xfs/libxfs/xfs_dir2_block.c index 19e61509cf53..a6fb0cc2085e 100644 --- a/fs/xfs/libxfs/xfs_dir2_block.c +++ b/fs/xfs/libxfs/xfs_dir2_block.c | |||
@@ -11,18 +11,14 @@ | |||
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_da_btree.h" | ||
16 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
17 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
18 | #include "xfs_inode_item.h" | ||
19 | #include "xfs_bmap.h" | 16 | #include "xfs_bmap.h" |
20 | #include "xfs_buf_item.h" | 17 | #include "xfs_buf_item.h" |
21 | #include "xfs_dir2.h" | 18 | #include "xfs_dir2.h" |
22 | #include "xfs_dir2_priv.h" | 19 | #include "xfs_dir2_priv.h" |
23 | #include "xfs_error.h" | 20 | #include "xfs_error.h" |
24 | #include "xfs_trace.h" | 21 | #include "xfs_trace.h" |
25 | #include "xfs_cksum.h" | ||
26 | #include "xfs_log.h" | 22 | #include "xfs_log.h" |
27 | 23 | ||
28 | /* | 24 | /* |
diff --git a/fs/xfs/libxfs/xfs_dir2_data.c b/fs/xfs/libxfs/xfs_dir2_data.c index 00ae0f0d97c4..2c79be4c3153 100644 --- a/fs/xfs/libxfs/xfs_dir2_data.c +++ b/fs/xfs/libxfs/xfs_dir2_data.c | |||
@@ -11,15 +11,11 @@ | |||
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_da_btree.h" | ||
16 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
17 | #include "xfs_dir2.h" | 15 | #include "xfs_dir2.h" |
18 | #include "xfs_dir2_priv.h" | ||
19 | #include "xfs_error.h" | 16 | #include "xfs_error.h" |
20 | #include "xfs_trans.h" | 17 | #include "xfs_trans.h" |
21 | #include "xfs_buf_item.h" | 18 | #include "xfs_buf_item.h" |
22 | #include "xfs_cksum.h" | ||
23 | #include "xfs_log.h" | 19 | #include "xfs_log.h" |
24 | 20 | ||
25 | static xfs_failaddr_t xfs_dir2_data_freefind_verify( | 21 | static xfs_failaddr_t xfs_dir2_data_freefind_verify( |
diff --git a/fs/xfs/libxfs/xfs_dir2_leaf.c b/fs/xfs/libxfs/xfs_dir2_leaf.c index 73bc3ea89723..a53e4585a2f3 100644 --- a/fs/xfs/libxfs/xfs_dir2_leaf.c +++ b/fs/xfs/libxfs/xfs_dir2_leaf.c | |||
@@ -11,8 +11,6 @@ | |||
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_da_btree.h" | ||
16 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
17 | #include "xfs_bmap.h" | 15 | #include "xfs_bmap.h" |
18 | #include "xfs_dir2.h" | 16 | #include "xfs_dir2.h" |
@@ -21,8 +19,6 @@ | |||
21 | #include "xfs_trace.h" | 19 | #include "xfs_trace.h" |
22 | #include "xfs_trans.h" | 20 | #include "xfs_trans.h" |
23 | #include "xfs_buf_item.h" | 21 | #include "xfs_buf_item.h" |
24 | #include "xfs_cksum.h" | ||
25 | #include "xfs_log.h" | ||
26 | 22 | ||
27 | /* | 23 | /* |
28 | * Local function declarations. | 24 | * Local function declarations. |
diff --git a/fs/xfs/libxfs/xfs_dir2_node.c b/fs/xfs/libxfs/xfs_dir2_node.c index 747d14df9785..afcc6642690a 100644 --- a/fs/xfs/libxfs/xfs_dir2_node.c +++ b/fs/xfs/libxfs/xfs_dir2_node.c | |||
@@ -11,8 +11,6 @@ | |||
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_da_btree.h" | ||
16 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
17 | #include "xfs_bmap.h" | 15 | #include "xfs_bmap.h" |
18 | #include "xfs_dir2.h" | 16 | #include "xfs_dir2.h" |
@@ -21,7 +19,6 @@ | |||
21 | #include "xfs_trace.h" | 19 | #include "xfs_trace.h" |
22 | #include "xfs_trans.h" | 20 | #include "xfs_trans.h" |
23 | #include "xfs_buf_item.h" | 21 | #include "xfs_buf_item.h" |
24 | #include "xfs_cksum.h" | ||
25 | #include "xfs_log.h" | 22 | #include "xfs_log.h" |
26 | 23 | ||
27 | /* | 24 | /* |
diff --git a/fs/xfs/libxfs/xfs_dir2_sf.c b/fs/xfs/libxfs/xfs_dir2_sf.c index 57911731c516..033589257f54 100644 --- a/fs/xfs/libxfs/xfs_dir2_sf.c +++ b/fs/xfs/libxfs/xfs_dir2_sf.c | |||
@@ -10,12 +10,8 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_da_format.h" | ||
14 | #include "xfs_da_btree.h" | ||
15 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
16 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
17 | #include "xfs_inode_item.h" | ||
18 | #include "xfs_error.h" | ||
19 | #include "xfs_dir2.h" | 15 | #include "xfs_dir2.h" |
20 | #include "xfs_dir2_priv.h" | 16 | #include "xfs_dir2_priv.h" |
21 | #include "xfs_trace.h" | 17 | #include "xfs_trace.h" |
diff --git a/fs/xfs/libxfs/xfs_dquot_buf.c b/fs/xfs/libxfs/xfs_dquot_buf.c index 194d2f0194aa..e8bd688a4073 100644 --- a/fs/xfs/libxfs/xfs_dquot_buf.c +++ b/fs/xfs/libxfs/xfs_dquot_buf.c | |||
@@ -16,8 +16,6 @@ | |||
16 | #include "xfs_trans.h" | 16 | #include "xfs_trans.h" |
17 | #include "xfs_qm.h" | 17 | #include "xfs_qm.h" |
18 | #include "xfs_error.h" | 18 | #include "xfs_error.h" |
19 | #include "xfs_cksum.h" | ||
20 | #include "xfs_trace.h" | ||
21 | 19 | ||
22 | int | 20 | int |
23 | xfs_calc_dquots_per_chunk( | 21 | xfs_calc_dquots_per_chunk( |
diff --git a/fs/xfs/libxfs/xfs_ialloc.c b/fs/xfs/libxfs/xfs_ialloc.c index b6ca15584f5c..04377ab75863 100644 --- a/fs/xfs/libxfs/xfs_ialloc.c +++ b/fs/xfs/libxfs/xfs_ialloc.c | |||
@@ -12,17 +12,14 @@ | |||
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_sb.h" | 13 | #include "xfs_sb.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | ||
16 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
17 | #include "xfs_btree.h" | 16 | #include "xfs_btree.h" |
18 | #include "xfs_ialloc.h" | 17 | #include "xfs_ialloc.h" |
19 | #include "xfs_ialloc_btree.h" | 18 | #include "xfs_ialloc_btree.h" |
20 | #include "xfs_alloc.h" | 19 | #include "xfs_alloc.h" |
21 | #include "xfs_rtalloc.h" | ||
22 | #include "xfs_errortag.h" | 20 | #include "xfs_errortag.h" |
23 | #include "xfs_error.h" | 21 | #include "xfs_error.h" |
24 | #include "xfs_bmap.h" | 22 | #include "xfs_bmap.h" |
25 | #include "xfs_cksum.h" | ||
26 | #include "xfs_trans.h" | 23 | #include "xfs_trans.h" |
27 | #include "xfs_buf_item.h" | 24 | #include "xfs_buf_item.h" |
28 | #include "xfs_icreate_item.h" | 25 | #include "xfs_icreate_item.h" |
diff --git a/fs/xfs/libxfs/xfs_ialloc_btree.c b/fs/xfs/libxfs/xfs_ialloc_btree.c index ebb6fadbedb0..3f2772e51d18 100644 --- a/fs/xfs/libxfs/xfs_ialloc_btree.c +++ b/fs/xfs/libxfs/xfs_ialloc_btree.c | |||
@@ -11,14 +11,12 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_inode.h" | ||
15 | #include "xfs_btree.h" | 14 | #include "xfs_btree.h" |
16 | #include "xfs_ialloc.h" | 15 | #include "xfs_ialloc.h" |
17 | #include "xfs_ialloc_btree.h" | 16 | #include "xfs_ialloc_btree.h" |
18 | #include "xfs_alloc.h" | 17 | #include "xfs_alloc.h" |
19 | #include "xfs_error.h" | 18 | #include "xfs_error.h" |
20 | #include "xfs_trace.h" | 19 | #include "xfs_trace.h" |
21 | #include "xfs_cksum.h" | ||
22 | #include "xfs_trans.h" | 20 | #include "xfs_trans.h" |
23 | #include "xfs_rmap.h" | 21 | #include "xfs_rmap.h" |
24 | 22 | ||
diff --git a/fs/xfs/libxfs/xfs_iext_tree.c b/fs/xfs/libxfs/xfs_iext_tree.c index a2beca47eead..27aa3f2bc4bc 100644 --- a/fs/xfs/libxfs/xfs_iext_tree.c +++ b/fs/xfs/libxfs/xfs_iext_tree.c | |||
@@ -3,19 +3,14 @@ | |||
3 | * Copyright (c) 2017 Christoph Hellwig. | 3 | * Copyright (c) 2017 Christoph Hellwig. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <linux/cache.h> | ||
7 | #include <linux/kernel.h> | ||
8 | #include <linux/slab.h> | ||
9 | #include "xfs.h" | 6 | #include "xfs.h" |
10 | #include "xfs_shared.h" | 7 | #include "xfs_shared.h" |
11 | #include "xfs_format.h" | 8 | #include "xfs_format.h" |
12 | #include "xfs_bit.h" | 9 | #include "xfs_bit.h" |
13 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
14 | #include "xfs_inode.h" | 11 | #include "xfs_inode.h" |
15 | #include "xfs_inode_fork.h" | ||
16 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
17 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
18 | #include "xfs_bmap.h" | ||
19 | #include "xfs_trace.h" | 14 | #include "xfs_trace.h" |
20 | 15 | ||
21 | /* | 16 | /* |
diff --git a/fs/xfs/libxfs/xfs_inode_buf.c b/fs/xfs/libxfs/xfs_inode_buf.c index 9bb9c73c1eb2..28ab3c5255e1 100644 --- a/fs/xfs/libxfs/xfs_inode_buf.c +++ b/fs/xfs/libxfs/xfs_inode_buf.c | |||
@@ -10,11 +10,9 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_defer.h" | ||
14 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
15 | #include "xfs_errortag.h" | 14 | #include "xfs_errortag.h" |
16 | #include "xfs_error.h" | 15 | #include "xfs_error.h" |
17 | #include "xfs_cksum.h" | ||
18 | #include "xfs_icache.h" | 16 | #include "xfs_icache.h" |
19 | #include "xfs_trans.h" | 17 | #include "xfs_trans.h" |
20 | #include "xfs_ialloc.h" | 18 | #include "xfs_ialloc.h" |
diff --git a/fs/xfs/libxfs/xfs_inode_fork.c b/fs/xfs/libxfs/xfs_inode_fork.c index 642ef9ed5f57..bf3e04018246 100644 --- a/fs/xfs/libxfs/xfs_inode_fork.c +++ b/fs/xfs/libxfs/xfs_inode_fork.c | |||
@@ -3,7 +3,6 @@ | |||
3 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. | 3 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. |
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include <linux/log2.h> | ||
7 | 6 | ||
8 | #include "xfs.h" | 7 | #include "xfs.h" |
9 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
@@ -20,12 +19,10 @@ | |||
20 | #include "xfs_bmap.h" | 19 | #include "xfs_bmap.h" |
21 | #include "xfs_error.h" | 20 | #include "xfs_error.h" |
22 | #include "xfs_trace.h" | 21 | #include "xfs_trace.h" |
23 | #include "xfs_attr_sf.h" | ||
24 | #include "xfs_da_format.h" | 22 | #include "xfs_da_format.h" |
25 | #include "xfs_da_btree.h" | 23 | #include "xfs_da_btree.h" |
26 | #include "xfs_dir2_priv.h" | 24 | #include "xfs_dir2_priv.h" |
27 | #include "xfs_attr_leaf.h" | 25 | #include "xfs_attr_leaf.h" |
28 | #include "xfs_shared.h" | ||
29 | 26 | ||
30 | kmem_zone_t *xfs_ifork_zone; | 27 | kmem_zone_t *xfs_ifork_zone; |
31 | 28 | ||
diff --git a/fs/xfs/libxfs/xfs_log_rlimit.c b/fs/xfs/libxfs/xfs_log_rlimit.c index 1b542ec11d5d..7f55eb3f3653 100644 --- a/fs/xfs/libxfs/xfs_log_rlimit.c +++ b/fs/xfs/libxfs/xfs_log_rlimit.c | |||
@@ -12,9 +12,7 @@ | |||
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_da_format.h" | 13 | #include "xfs_da_format.h" |
14 | #include "xfs_trans_space.h" | 14 | #include "xfs_trans_space.h" |
15 | #include "xfs_inode.h" | ||
16 | #include "xfs_da_btree.h" | 15 | #include "xfs_da_btree.h" |
17 | #include "xfs_attr_leaf.h" | ||
18 | #include "xfs_bmap_btree.h" | 16 | #include "xfs_bmap_btree.h" |
19 | 17 | ||
20 | /* | 18 | /* |
diff --git a/fs/xfs/libxfs/xfs_refcount.c b/fs/xfs/libxfs/xfs_refcount.c index 542aa1475b5f..51bb9bdb0e84 100644 --- a/fs/xfs/libxfs/xfs_refcount.c +++ b/fs/xfs/libxfs/xfs_refcount.c | |||
@@ -9,7 +9,6 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_sb.h" | ||
13 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | 13 | #include "xfs_defer.h" |
15 | #include "xfs_btree.h" | 14 | #include "xfs_btree.h" |
@@ -19,7 +18,6 @@ | |||
19 | #include "xfs_errortag.h" | 18 | #include "xfs_errortag.h" |
20 | #include "xfs_error.h" | 19 | #include "xfs_error.h" |
21 | #include "xfs_trace.h" | 20 | #include "xfs_trace.h" |
22 | #include "xfs_cksum.h" | ||
23 | #include "xfs_trans.h" | 21 | #include "xfs_trans.h" |
24 | #include "xfs_bit.h" | 22 | #include "xfs_bit.h" |
25 | #include "xfs_refcount.h" | 23 | #include "xfs_refcount.h" |
diff --git a/fs/xfs/libxfs/xfs_refcount_btree.c b/fs/xfs/libxfs/xfs_refcount_btree.c index 5d1dfc49ac89..38529dbacd55 100644 --- a/fs/xfs/libxfs/xfs_refcount_btree.c +++ b/fs/xfs/libxfs/xfs_refcount_btree.c | |||
@@ -12,12 +12,10 @@ | |||
12 | #include "xfs_sb.h" | 12 | #include "xfs_sb.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_btree.h" | 14 | #include "xfs_btree.h" |
15 | #include "xfs_bmap.h" | ||
16 | #include "xfs_refcount_btree.h" | 15 | #include "xfs_refcount_btree.h" |
17 | #include "xfs_alloc.h" | 16 | #include "xfs_alloc.h" |
18 | #include "xfs_error.h" | 17 | #include "xfs_error.h" |
19 | #include "xfs_trace.h" | 18 | #include "xfs_trace.h" |
20 | #include "xfs_cksum.h" | ||
21 | #include "xfs_trans.h" | 19 | #include "xfs_trans.h" |
22 | #include "xfs_bit.h" | 20 | #include "xfs_bit.h" |
23 | #include "xfs_rmap.h" | 21 | #include "xfs_rmap.h" |
diff --git a/fs/xfs/libxfs/xfs_rmap.c b/fs/xfs/libxfs/xfs_rmap.c index 8ed885507dd8..e6aeb390b2fb 100644 --- a/fs/xfs/libxfs/xfs_rmap.c +++ b/fs/xfs/libxfs/xfs_rmap.c | |||
@@ -10,24 +10,17 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_sb.h" | ||
14 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | 14 | #include "xfs_defer.h" |
16 | #include "xfs_da_format.h" | ||
17 | #include "xfs_da_btree.h" | ||
18 | #include "xfs_btree.h" | 15 | #include "xfs_btree.h" |
19 | #include "xfs_trans.h" | 16 | #include "xfs_trans.h" |
20 | #include "xfs_alloc.h" | 17 | #include "xfs_alloc.h" |
21 | #include "xfs_rmap.h" | 18 | #include "xfs_rmap.h" |
22 | #include "xfs_rmap_btree.h" | 19 | #include "xfs_rmap_btree.h" |
23 | #include "xfs_trans_space.h" | ||
24 | #include "xfs_trace.h" | 20 | #include "xfs_trace.h" |
25 | #include "xfs_errortag.h" | 21 | #include "xfs_errortag.h" |
26 | #include "xfs_error.h" | 22 | #include "xfs_error.h" |
27 | #include "xfs_extent_busy.h" | ||
28 | #include "xfs_bmap.h" | ||
29 | #include "xfs_inode.h" | 23 | #include "xfs_inode.h" |
30 | #include "xfs_ialloc.h" | ||
31 | 24 | ||
32 | /* | 25 | /* |
33 | * Lookup the first record less than or equal to [bno, len, owner, offset] | 26 | * Lookup the first record less than or equal to [bno, len, owner, offset] |
diff --git a/fs/xfs/libxfs/xfs_rmap_btree.c b/fs/xfs/libxfs/xfs_rmap_btree.c index e9fe53e0dcc8..fc78efa52c94 100644 --- a/fs/xfs/libxfs/xfs_rmap_btree.c +++ b/fs/xfs/libxfs/xfs_rmap_btree.c | |||
@@ -9,18 +9,14 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | ||
13 | #include "xfs_sb.h" | 12 | #include "xfs_sb.h" |
14 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | ||
16 | #include "xfs_inode.h" | ||
17 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
18 | #include "xfs_alloc.h" | 15 | #include "xfs_alloc.h" |
19 | #include "xfs_btree.h" | 16 | #include "xfs_btree.h" |
20 | #include "xfs_rmap.h" | 17 | #include "xfs_rmap.h" |
21 | #include "xfs_rmap_btree.h" | 18 | #include "xfs_rmap_btree.h" |
22 | #include "xfs_trace.h" | 19 | #include "xfs_trace.h" |
23 | #include "xfs_cksum.h" | ||
24 | #include "xfs_error.h" | 20 | #include "xfs_error.h" |
25 | #include "xfs_extent_busy.h" | 21 | #include "xfs_extent_busy.h" |
26 | #include "xfs_ag_resv.h" | 22 | #include "xfs_ag_resv.h" |
diff --git a/fs/xfs/libxfs/xfs_rtbitmap.c b/fs/xfs/libxfs/xfs_rtbitmap.c index eaaff67e9626..8ea1efc97b41 100644 --- a/fs/xfs/libxfs/xfs_rtbitmap.c +++ b/fs/xfs/libxfs/xfs_rtbitmap.c | |||
@@ -13,15 +13,7 @@ | |||
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
15 | #include "xfs_bmap.h" | 15 | #include "xfs_bmap.h" |
16 | #include "xfs_bmap_util.h" | ||
17 | #include "xfs_bmap_btree.h" | ||
18 | #include "xfs_alloc.h" | ||
19 | #include "xfs_error.h" | ||
20 | #include "xfs_trans.h" | 16 | #include "xfs_trans.h" |
21 | #include "xfs_trans_space.h" | ||
22 | #include "xfs_trace.h" | ||
23 | #include "xfs_buf.h" | ||
24 | #include "xfs_icache.h" | ||
25 | #include "xfs_rtalloc.h" | 17 | #include "xfs_rtalloc.h" |
26 | 18 | ||
27 | 19 | ||
diff --git a/fs/xfs/libxfs/xfs_sb.c b/fs/xfs/libxfs/xfs_sb.c index aa21edf13d5a..a08dd8f40346 100644 --- a/fs/xfs/libxfs/xfs_sb.c +++ b/fs/xfs/libxfs/xfs_sb.c | |||
@@ -10,26 +10,19 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_sb.h" | ||
14 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | ||
16 | #include "xfs_inode.h" | ||
17 | #include "xfs_ialloc.h" | 14 | #include "xfs_ialloc.h" |
18 | #include "xfs_alloc.h" | 15 | #include "xfs_alloc.h" |
19 | #include "xfs_error.h" | 16 | #include "xfs_error.h" |
20 | #include "xfs_trace.h" | 17 | #include "xfs_trace.h" |
21 | #include "xfs_cksum.h" | ||
22 | #include "xfs_trans.h" | 18 | #include "xfs_trans.h" |
23 | #include "xfs_buf_item.h" | 19 | #include "xfs_buf_item.h" |
24 | #include "xfs_bmap_btree.h" | 20 | #include "xfs_bmap_btree.h" |
25 | #include "xfs_alloc_btree.h" | 21 | #include "xfs_alloc_btree.h" |
26 | #include "xfs_ialloc_btree.h" | ||
27 | #include "xfs_log.h" | 22 | #include "xfs_log.h" |
28 | #include "xfs_rmap_btree.h" | 23 | #include "xfs_rmap_btree.h" |
29 | #include "xfs_bmap.h" | ||
30 | #include "xfs_refcount_btree.h" | 24 | #include "xfs_refcount_btree.h" |
31 | #include "xfs_da_format.h" | 25 | #include "xfs_da_format.h" |
32 | #include "xfs_da_btree.h" | ||
33 | #include "xfs_health.h" | 26 | #include "xfs_health.h" |
34 | 27 | ||
35 | /* | 28 | /* |
diff --git a/fs/xfs/libxfs/xfs_symlink_remote.c b/fs/xfs/libxfs/xfs_symlink_remote.c index 264b94bb2295..3b8260ca7d1b 100644 --- a/fs/xfs/libxfs/xfs_symlink_remote.c +++ b/fs/xfs/libxfs/xfs_symlink_remote.c | |||
@@ -11,12 +11,8 @@ | |||
11 | #include "xfs_shared.h" | 11 | #include "xfs_shared.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_bmap_btree.h" | ||
15 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
16 | #include "xfs_error.h" | 15 | #include "xfs_error.h" |
17 | #include "xfs_trace.h" | ||
18 | #include "xfs_symlink.h" | ||
19 | #include "xfs_cksum.h" | ||
20 | #include "xfs_trans.h" | 16 | #include "xfs_trans.h" |
21 | #include "xfs_buf_item.h" | 17 | #include "xfs_buf_item.h" |
22 | #include "xfs_log.h" | 18 | #include "xfs_log.h" |
diff --git a/fs/xfs/libxfs/xfs_trans_resv.c b/fs/xfs/libxfs/xfs_trans_resv.c index 9d1326d14af9..d12bbd526e7c 100644 --- a/fs/xfs/libxfs/xfs_trans_resv.c +++ b/fs/xfs/libxfs/xfs_trans_resv.c | |||
@@ -15,12 +15,10 @@ | |||
15 | #include "xfs_da_btree.h" | 15 | #include "xfs_da_btree.h" |
16 | #include "xfs_inode.h" | 16 | #include "xfs_inode.h" |
17 | #include "xfs_bmap_btree.h" | 17 | #include "xfs_bmap_btree.h" |
18 | #include "xfs_ialloc.h" | ||
19 | #include "xfs_quota.h" | 18 | #include "xfs_quota.h" |
20 | #include "xfs_trans.h" | 19 | #include "xfs_trans.h" |
21 | #include "xfs_qm.h" | 20 | #include "xfs_qm.h" |
22 | #include "xfs_trans_space.h" | 21 | #include "xfs_trans_space.h" |
23 | #include "xfs_trace.h" | ||
24 | 22 | ||
25 | #define _ALLOC true | 23 | #define _ALLOC true |
26 | #define _FREE false | 24 | #define _FREE false |
diff --git a/fs/xfs/libxfs/xfs_types.c b/fs/xfs/libxfs/xfs_types.c index a2bd9f5a5e30..4f595546a639 100644 --- a/fs/xfs/libxfs/xfs_types.c +++ b/fs/xfs/libxfs/xfs_types.c | |||
@@ -7,19 +7,10 @@ | |||
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | ||
11 | #include "xfs_shared.h" | 10 | #include "xfs_shared.h" |
12 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
13 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
14 | #include "xfs_sb.h" | ||
15 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
16 | #include "xfs_defer.h" | ||
17 | #include "xfs_inode.h" | ||
18 | #include "xfs_btree.h" | ||
19 | #include "xfs_rmap.h" | ||
20 | #include "xfs_alloc_btree.h" | ||
21 | #include "xfs_alloc.h" | ||
22 | #include "xfs_ialloc.h" | ||
23 | 14 | ||
24 | /* Find the size of the AG, in blocks. */ | 15 | /* Find the size of the AG, in blocks. */ |
25 | xfs_agblock_t | 16 | xfs_agblock_t |
diff --git a/fs/xfs/scrub/agheader.c b/fs/xfs/scrub/agheader.c index adaeabdefdd3..5e3fc9f3de13 100644 --- a/fs/xfs/scrub/agheader.c +++ b/fs/xfs/scrub/agheader.c | |||
@@ -9,20 +9,13 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | ||
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | 13 | #include "xfs_sb.h" |
18 | #include "xfs_inode.h" | ||
19 | #include "xfs_alloc.h" | 14 | #include "xfs_alloc.h" |
20 | #include "xfs_ialloc.h" | 15 | #include "xfs_ialloc.h" |
21 | #include "xfs_rmap.h" | 16 | #include "xfs_rmap.h" |
22 | #include "scrub/xfs_scrub.h" | ||
23 | #include "scrub/scrub.h" | 17 | #include "scrub/scrub.h" |
24 | #include "scrub/common.h" | 18 | #include "scrub/common.h" |
25 | #include "scrub/trace.h" | ||
26 | 19 | ||
27 | /* Superblock */ | 20 | /* Superblock */ |
28 | 21 | ||
diff --git a/fs/xfs/scrub/agheader_repair.c b/fs/xfs/scrub/agheader_repair.c index 64e31f87d490..7a1a38b636a9 100644 --- a/fs/xfs/scrub/agheader_repair.c +++ b/fs/xfs/scrub/agheader_repair.c | |||
@@ -9,22 +9,17 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 13 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | 15 | #include "xfs_sb.h" |
18 | #include "xfs_inode.h" | ||
19 | #include "xfs_alloc.h" | 16 | #include "xfs_alloc.h" |
20 | #include "xfs_alloc_btree.h" | 17 | #include "xfs_alloc_btree.h" |
21 | #include "xfs_ialloc.h" | 18 | #include "xfs_ialloc.h" |
22 | #include "xfs_ialloc_btree.h" | 19 | #include "xfs_ialloc_btree.h" |
23 | #include "xfs_rmap.h" | 20 | #include "xfs_rmap.h" |
24 | #include "xfs_rmap_btree.h" | 21 | #include "xfs_rmap_btree.h" |
25 | #include "xfs_refcount.h" | ||
26 | #include "xfs_refcount_btree.h" | 22 | #include "xfs_refcount_btree.h" |
27 | #include "scrub/xfs_scrub.h" | ||
28 | #include "scrub/scrub.h" | 23 | #include "scrub/scrub.h" |
29 | #include "scrub/common.h" | 24 | #include "scrub/common.h" |
30 | #include "scrub/trace.h" | 25 | #include "scrub/trace.h" |
diff --git a/fs/xfs/scrub/alloc.c b/fs/xfs/scrub/alloc.c index 44883e9112ad..a43d1813c4ff 100644 --- a/fs/xfs/scrub/alloc.c +++ b/fs/xfs/scrub/alloc.c | |||
@@ -9,19 +9,12 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | ||
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_alloc.h" | 13 | #include "xfs_alloc.h" |
19 | #include "xfs_rmap.h" | 14 | #include "xfs_rmap.h" |
20 | #include "scrub/xfs_scrub.h" | ||
21 | #include "scrub/scrub.h" | 15 | #include "scrub/scrub.h" |
22 | #include "scrub/common.h" | 16 | #include "scrub/common.h" |
23 | #include "scrub/btree.h" | 17 | #include "scrub/btree.h" |
24 | #include "scrub/trace.h" | ||
25 | 18 | ||
26 | /* | 19 | /* |
27 | * Set us up to scrub free space btrees. | 20 | * Set us up to scrub free space btrees. |
diff --git a/fs/xfs/scrub/attr.c b/fs/xfs/scrub/attr.c index dce74ec57038..099a28308815 100644 --- a/fs/xfs/scrub/attr.c +++ b/fs/xfs/scrub/attr.c | |||
@@ -9,26 +9,16 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
19 | #include "xfs_da_format.h" | 14 | #include "xfs_da_format.h" |
20 | #include "xfs_da_btree.h" | 15 | #include "xfs_da_btree.h" |
21 | #include "xfs_dir2.h" | ||
22 | #include "xfs_attr.h" | 16 | #include "xfs_attr.h" |
23 | #include "xfs_attr_leaf.h" | 17 | #include "xfs_attr_leaf.h" |
24 | #include "scrub/xfs_scrub.h" | ||
25 | #include "scrub/scrub.h" | 18 | #include "scrub/scrub.h" |
26 | #include "scrub/common.h" | 19 | #include "scrub/common.h" |
27 | #include "scrub/dabtree.h" | 20 | #include "scrub/dabtree.h" |
28 | #include "scrub/trace.h" | ||
29 | 21 | ||
30 | #include <linux/posix_acl_xattr.h> | ||
31 | #include <linux/xattr.h> | ||
32 | 22 | ||
33 | /* Set us up to scrub an inode's extended attributes. */ | 23 | /* Set us up to scrub an inode's extended attributes. */ |
34 | int | 24 | int |
diff --git a/fs/xfs/scrub/bitmap.c b/fs/xfs/scrub/bitmap.c index fdadc9e1dc49..3d47d111be5a 100644 --- a/fs/xfs/scrub/bitmap.c +++ b/fs/xfs/scrub/bitmap.c | |||
@@ -10,11 +10,6 @@ | |||
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
13 | #include "scrub/xfs_scrub.h" | ||
14 | #include "scrub/scrub.h" | ||
15 | #include "scrub/common.h" | ||
16 | #include "scrub/trace.h" | ||
17 | #include "scrub/repair.h" | ||
18 | #include "scrub/bitmap.h" | 13 | #include "scrub/bitmap.h" |
19 | 14 | ||
20 | /* | 15 | /* |
diff --git a/fs/xfs/scrub/bmap.c b/fs/xfs/scrub/bmap.c index a703cd58a90e..1bd29fdc2ab5 100644 --- a/fs/xfs/scrub/bmap.c +++ b/fs/xfs/scrub/bmap.c | |||
@@ -9,27 +9,19 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | 13 | #include "xfs_bit.h" |
15 | #include "xfs_log_format.h" | 14 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 16 | #include "xfs_inode.h" |
19 | #include "xfs_inode_fork.h" | ||
20 | #include "xfs_alloc.h" | 17 | #include "xfs_alloc.h" |
21 | #include "xfs_rtalloc.h" | ||
22 | #include "xfs_bmap.h" | 18 | #include "xfs_bmap.h" |
23 | #include "xfs_bmap_util.h" | ||
24 | #include "xfs_bmap_btree.h" | 19 | #include "xfs_bmap_btree.h" |
25 | #include "xfs_rmap.h" | 20 | #include "xfs_rmap.h" |
26 | #include "xfs_rmap_btree.h" | 21 | #include "xfs_rmap_btree.h" |
27 | #include "xfs_refcount.h" | ||
28 | #include "scrub/xfs_scrub.h" | ||
29 | #include "scrub/scrub.h" | 22 | #include "scrub/scrub.h" |
30 | #include "scrub/common.h" | 23 | #include "scrub/common.h" |
31 | #include "scrub/btree.h" | 24 | #include "scrub/btree.h" |
32 | #include "scrub/trace.h" | ||
33 | 25 | ||
34 | /* Set us up with an inode's bmap. */ | 26 | /* Set us up with an inode's bmap. */ |
35 | int | 27 | int |
diff --git a/fs/xfs/scrub/btree.c b/fs/xfs/scrub/btree.c index 117910db51b8..f52a7b8256f9 100644 --- a/fs/xfs/scrub/btree.c +++ b/fs/xfs/scrub/btree.c | |||
@@ -9,14 +9,7 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | ||
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | ||
19 | #include "xfs_alloc.h" | ||
20 | #include "scrub/scrub.h" | 13 | #include "scrub/scrub.h" |
21 | #include "scrub/common.h" | 14 | #include "scrub/common.h" |
22 | #include "scrub/btree.h" | 15 | #include "scrub/btree.h" |
diff --git a/fs/xfs/scrub/common.c b/fs/xfs/scrub/common.c index 973aa59975e3..18876056e5e0 100644 --- a/fs/xfs/scrub/common.c +++ b/fs/xfs/scrub/common.c | |||
@@ -9,22 +9,16 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 13 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | 15 | #include "xfs_sb.h" |
18 | #include "xfs_inode.h" | 16 | #include "xfs_inode.h" |
19 | #include "xfs_icache.h" | 17 | #include "xfs_icache.h" |
20 | #include "xfs_itable.h" | ||
21 | #include "xfs_alloc.h" | 18 | #include "xfs_alloc.h" |
22 | #include "xfs_alloc_btree.h" | 19 | #include "xfs_alloc_btree.h" |
23 | #include "xfs_bmap.h" | ||
24 | #include "xfs_bmap_btree.h" | ||
25 | #include "xfs_ialloc.h" | 20 | #include "xfs_ialloc.h" |
26 | #include "xfs_ialloc_btree.h" | 21 | #include "xfs_ialloc_btree.h" |
27 | #include "xfs_refcount.h" | ||
28 | #include "xfs_refcount_btree.h" | 22 | #include "xfs_refcount_btree.h" |
29 | #include "xfs_rmap.h" | 23 | #include "xfs_rmap.h" |
30 | #include "xfs_rmap_btree.h" | 24 | #include "xfs_rmap_btree.h" |
@@ -32,11 +26,9 @@ | |||
32 | #include "xfs_trans_priv.h" | 26 | #include "xfs_trans_priv.h" |
33 | #include "xfs_attr.h" | 27 | #include "xfs_attr.h" |
34 | #include "xfs_reflink.h" | 28 | #include "xfs_reflink.h" |
35 | #include "scrub/xfs_scrub.h" | ||
36 | #include "scrub/scrub.h" | 29 | #include "scrub/scrub.h" |
37 | #include "scrub/common.h" | 30 | #include "scrub/common.h" |
38 | #include "scrub/trace.h" | 31 | #include "scrub/trace.h" |
39 | #include "scrub/btree.h" | ||
40 | #include "scrub/repair.h" | 32 | #include "scrub/repair.h" |
41 | #include "scrub/health.h" | 33 | #include "scrub/health.h" |
42 | 34 | ||
diff --git a/fs/xfs/scrub/dabtree.c b/fs/xfs/scrub/dabtree.c index 90527b094878..94c4f1de1922 100644 --- a/fs/xfs/scrub/dabtree.c +++ b/fs/xfs/scrub/dabtree.c | |||
@@ -9,20 +9,12 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 13 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
19 | #include "xfs_inode_fork.h" | ||
20 | #include "xfs_da_format.h" | ||
21 | #include "xfs_da_btree.h" | ||
22 | #include "xfs_dir2.h" | 15 | #include "xfs_dir2.h" |
23 | #include "xfs_dir2_priv.h" | 16 | #include "xfs_dir2_priv.h" |
24 | #include "xfs_attr_leaf.h" | 17 | #include "xfs_attr_leaf.h" |
25 | #include "scrub/xfs_scrub.h" | ||
26 | #include "scrub/scrub.h" | 18 | #include "scrub/scrub.h" |
27 | #include "scrub/common.h" | 19 | #include "scrub/common.h" |
28 | #include "scrub/trace.h" | 20 | #include "scrub/trace.h" |
diff --git a/fs/xfs/scrub/dir.c b/fs/xfs/scrub/dir.c index a38a22785a1a..1e2e11721eb9 100644 --- a/fs/xfs/scrub/dir.c +++ b/fs/xfs/scrub/dir.c | |||
@@ -9,24 +9,14 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 13 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
19 | #include "xfs_icache.h" | 15 | #include "xfs_icache.h" |
20 | #include "xfs_itable.h" | ||
21 | #include "xfs_da_format.h" | ||
22 | #include "xfs_da_btree.h" | ||
23 | #include "xfs_dir2.h" | 16 | #include "xfs_dir2.h" |
24 | #include "xfs_dir2_priv.h" | 17 | #include "xfs_dir2_priv.h" |
25 | #include "xfs_ialloc.h" | ||
26 | #include "scrub/xfs_scrub.h" | ||
27 | #include "scrub/scrub.h" | 18 | #include "scrub/scrub.h" |
28 | #include "scrub/common.h" | 19 | #include "scrub/common.h" |
29 | #include "scrub/trace.h" | ||
30 | #include "scrub/dabtree.h" | 20 | #include "scrub/dabtree.h" |
31 | 21 | ||
32 | /* Set us up to scrub directories. */ | 22 | /* Set us up to scrub directories. */ |
diff --git a/fs/xfs/scrub/fscounters.c b/fs/xfs/scrub/fscounters.c index 07c11e3e6437..fc3f510c9034 100644 --- a/fs/xfs/scrub/fscounters.c +++ b/fs/xfs/scrub/fscounters.c | |||
@@ -9,22 +9,10 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | ||
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | 12 | #include "xfs_sb.h" |
18 | #include "xfs_inode.h" | ||
19 | #include "xfs_alloc.h" | 13 | #include "xfs_alloc.h" |
20 | #include "xfs_ialloc.h" | 14 | #include "xfs_ialloc.h" |
21 | #include "xfs_rmap.h" | ||
22 | #include "xfs_error.h" | ||
23 | #include "xfs_errortag.h" | ||
24 | #include "xfs_icache.h" | ||
25 | #include "xfs_health.h" | 15 | #include "xfs_health.h" |
26 | #include "xfs_bmap.h" | ||
27 | #include "scrub/xfs_scrub.h" | ||
28 | #include "scrub/scrub.h" | 16 | #include "scrub/scrub.h" |
29 | #include "scrub/common.h" | 17 | #include "scrub/common.h" |
30 | #include "scrub/trace.h" | 18 | #include "scrub/trace.h" |
diff --git a/fs/xfs/scrub/health.c b/fs/xfs/scrub/health.c index 23cf8e2f25db..b2f602811e9d 100644 --- a/fs/xfs/scrub/health.c +++ b/fs/xfs/scrub/health.c | |||
@@ -7,18 +7,10 @@ | |||
7 | #include "xfs_fs.h" | 7 | #include "xfs_fs.h" |
8 | #include "xfs_shared.h" | 8 | #include "xfs_shared.h" |
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | ||
11 | #include "xfs_mount.h" | ||
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 10 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | ||
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | 11 | #include "xfs_sb.h" |
18 | #include "xfs_inode.h" | ||
19 | #include "xfs_health.h" | 12 | #include "xfs_health.h" |
20 | #include "scrub/scrub.h" | 13 | #include "scrub/scrub.h" |
21 | #include "scrub/health.h" | ||
22 | 14 | ||
23 | /* | 15 | /* |
24 | * Scrub and In-Core Filesystem Health Assessments | 16 | * Scrub and In-Core Filesystem Health Assessments |
diff --git a/fs/xfs/scrub/ialloc.c b/fs/xfs/scrub/ialloc.c index 3c3abd096143..681758704fda 100644 --- a/fs/xfs/scrub/ialloc.c +++ b/fs/xfs/scrub/ialloc.c | |||
@@ -9,21 +9,14 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 13 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
19 | #include "xfs_alloc.h" | ||
20 | #include "xfs_ialloc.h" | 16 | #include "xfs_ialloc.h" |
21 | #include "xfs_ialloc_btree.h" | 17 | #include "xfs_ialloc_btree.h" |
22 | #include "xfs_icache.h" | 18 | #include "xfs_icache.h" |
23 | #include "xfs_rmap.h" | 19 | #include "xfs_rmap.h" |
24 | #include "xfs_log.h" | ||
25 | #include "xfs_trans_priv.h" | ||
26 | #include "scrub/xfs_scrub.h" | ||
27 | #include "scrub/scrub.h" | 20 | #include "scrub/scrub.h" |
28 | #include "scrub/common.h" | 21 | #include "scrub/common.h" |
29 | #include "scrub/btree.h" | 22 | #include "scrub/btree.h" |
diff --git a/fs/xfs/scrub/inode.c b/fs/xfs/scrub/inode.c index e213efc194a1..6d483ab29e63 100644 --- a/fs/xfs/scrub/inode.c +++ b/fs/xfs/scrub/inode.c | |||
@@ -9,27 +9,17 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 13 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
19 | #include "xfs_icache.h" | ||
20 | #include "xfs_inode_buf.h" | ||
21 | #include "xfs_inode_fork.h" | ||
22 | #include "xfs_ialloc.h" | 15 | #include "xfs_ialloc.h" |
23 | #include "xfs_da_format.h" | 16 | #include "xfs_da_format.h" |
24 | #include "xfs_reflink.h" | 17 | #include "xfs_reflink.h" |
25 | #include "xfs_rmap.h" | 18 | #include "xfs_rmap.h" |
26 | #include "xfs_bmap.h" | ||
27 | #include "xfs_bmap_util.h" | 19 | #include "xfs_bmap_util.h" |
28 | #include "scrub/xfs_scrub.h" | ||
29 | #include "scrub/scrub.h" | 20 | #include "scrub/scrub.h" |
30 | #include "scrub/common.h" | 21 | #include "scrub/common.h" |
31 | #include "scrub/btree.h" | 22 | #include "scrub/btree.h" |
32 | #include "scrub/trace.h" | ||
33 | 23 | ||
34 | /* | 24 | /* |
35 | * Grab total control of the inode metadata. It doesn't matter here if | 25 | * Grab total control of the inode metadata. It doesn't matter here if |
diff --git a/fs/xfs/scrub/parent.c b/fs/xfs/scrub/parent.c index d5d197f1b80f..c962bd534690 100644 --- a/fs/xfs/scrub/parent.c +++ b/fs/xfs/scrub/parent.c | |||
@@ -9,21 +9,13 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
19 | #include "xfs_icache.h" | 14 | #include "xfs_icache.h" |
20 | #include "xfs_dir2.h" | 15 | #include "xfs_dir2.h" |
21 | #include "xfs_dir2_priv.h" | 16 | #include "xfs_dir2_priv.h" |
22 | #include "xfs_ialloc.h" | ||
23 | #include "scrub/xfs_scrub.h" | ||
24 | #include "scrub/scrub.h" | 17 | #include "scrub/scrub.h" |
25 | #include "scrub/common.h" | 18 | #include "scrub/common.h" |
26 | #include "scrub/trace.h" | ||
27 | 19 | ||
28 | /* Set us up to scrub parents. */ | 20 | /* Set us up to scrub parents. */ |
29 | int | 21 | int |
diff --git a/fs/xfs/scrub/quota.c b/fs/xfs/scrub/quota.c index de75effddb0d..0a33b4421c32 100644 --- a/fs/xfs/scrub/quota.c +++ b/fs/xfs/scrub/quota.c | |||
@@ -9,24 +9,13 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 13 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
19 | #include "xfs_inode_fork.h" | ||
20 | #include "xfs_alloc.h" | ||
21 | #include "xfs_bmap.h" | ||
22 | #include "xfs_quota.h" | 15 | #include "xfs_quota.h" |
23 | #include "xfs_qm.h" | 16 | #include "xfs_qm.h" |
24 | #include "xfs_dquot.h" | ||
25 | #include "xfs_dquot_item.h" | ||
26 | #include "scrub/xfs_scrub.h" | ||
27 | #include "scrub/scrub.h" | 17 | #include "scrub/scrub.h" |
28 | #include "scrub/common.h" | 18 | #include "scrub/common.h" |
29 | #include "scrub/trace.h" | ||
30 | 19 | ||
31 | /* Convert a scrub type code to a DQ flag, or return 0 if error. */ | 20 | /* Convert a scrub type code to a DQ flag, or return 0 if error. */ |
32 | static inline uint | 21 | static inline uint |
diff --git a/fs/xfs/scrub/refcount.c b/fs/xfs/scrub/refcount.c index 708b4158eb90..93b3793bc5b3 100644 --- a/fs/xfs/scrub/refcount.c +++ b/fs/xfs/scrub/refcount.c | |||
@@ -7,22 +7,12 @@ | |||
7 | #include "xfs_fs.h" | 7 | #include "xfs_fs.h" |
8 | #include "xfs_shared.h" | 8 | #include "xfs_shared.h" |
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | ||
11 | #include "xfs_mount.h" | ||
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 10 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | ||
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_alloc.h" | ||
19 | #include "xfs_rmap.h" | 11 | #include "xfs_rmap.h" |
20 | #include "xfs_refcount.h" | 12 | #include "xfs_refcount.h" |
21 | #include "scrub/xfs_scrub.h" | ||
22 | #include "scrub/scrub.h" | 13 | #include "scrub/scrub.h" |
23 | #include "scrub/common.h" | 14 | #include "scrub/common.h" |
24 | #include "scrub/btree.h" | 15 | #include "scrub/btree.h" |
25 | #include "scrub/trace.h" | ||
26 | 16 | ||
27 | /* | 17 | /* |
28 | * Set us up to scrub reference count btrees. | 18 | * Set us up to scrub reference count btrees. |
diff --git a/fs/xfs/scrub/repair.c b/fs/xfs/scrub/repair.c index e710005a0c9e..4d3194a2327a 100644 --- a/fs/xfs/scrub/repair.c +++ b/fs/xfs/scrub/repair.c | |||
@@ -9,29 +9,21 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 13 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | 15 | #include "xfs_sb.h" |
18 | #include "xfs_inode.h" | 16 | #include "xfs_inode.h" |
19 | #include "xfs_icache.h" | ||
20 | #include "xfs_alloc.h" | 17 | #include "xfs_alloc.h" |
21 | #include "xfs_alloc_btree.h" | 18 | #include "xfs_alloc_btree.h" |
22 | #include "xfs_ialloc.h" | 19 | #include "xfs_ialloc.h" |
23 | #include "xfs_ialloc_btree.h" | 20 | #include "xfs_ialloc_btree.h" |
24 | #include "xfs_rmap.h" | 21 | #include "xfs_rmap.h" |
25 | #include "xfs_rmap_btree.h" | 22 | #include "xfs_rmap_btree.h" |
26 | #include "xfs_refcount.h" | ||
27 | #include "xfs_refcount_btree.h" | 23 | #include "xfs_refcount_btree.h" |
28 | #include "xfs_extent_busy.h" | 24 | #include "xfs_extent_busy.h" |
29 | #include "xfs_ag_resv.h" | 25 | #include "xfs_ag_resv.h" |
30 | #include "xfs_trans_space.h" | ||
31 | #include "xfs_quota.h" | 26 | #include "xfs_quota.h" |
32 | #include "xfs_attr.h" | ||
33 | #include "xfs_reflink.h" | ||
34 | #include "scrub/xfs_scrub.h" | ||
35 | #include "scrub/scrub.h" | 27 | #include "scrub/scrub.h" |
36 | #include "scrub/common.h" | 28 | #include "scrub/common.h" |
37 | #include "scrub/trace.h" | 29 | #include "scrub/trace.h" |
diff --git a/fs/xfs/scrub/rmap.c b/fs/xfs/scrub/rmap.c index 92a140c5b55e..8d4cefd761c1 100644 --- a/fs/xfs/scrub/rmap.c +++ b/fs/xfs/scrub/rmap.c | |||
@@ -9,21 +9,12 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | 12 | #include "xfs_btree.h" |
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | ||
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_alloc.h" | ||
19 | #include "xfs_ialloc.h" | ||
20 | #include "xfs_rmap.h" | 13 | #include "xfs_rmap.h" |
21 | #include "xfs_refcount.h" | 14 | #include "xfs_refcount.h" |
22 | #include "scrub/xfs_scrub.h" | ||
23 | #include "scrub/scrub.h" | 15 | #include "scrub/scrub.h" |
24 | #include "scrub/common.h" | 16 | #include "scrub/common.h" |
25 | #include "scrub/btree.h" | 17 | #include "scrub/btree.h" |
26 | #include "scrub/trace.h" | ||
27 | 18 | ||
28 | /* | 19 | /* |
29 | * Set us up to scrub reverse mapping btrees. | 20 | * Set us up to scrub reverse mapping btrees. |
diff --git a/fs/xfs/scrub/rtbitmap.c b/fs/xfs/scrub/rtbitmap.c index dbe115b075f7..c642bc206c41 100644 --- a/fs/xfs/scrub/rtbitmap.c +++ b/fs/xfs/scrub/rtbitmap.c | |||
@@ -9,19 +9,12 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 13 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_alloc.h" | ||
19 | #include "xfs_rtalloc.h" | 14 | #include "xfs_rtalloc.h" |
20 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
21 | #include "scrub/xfs_scrub.h" | ||
22 | #include "scrub/scrub.h" | 16 | #include "scrub/scrub.h" |
23 | #include "scrub/common.h" | 17 | #include "scrub/common.h" |
24 | #include "scrub/trace.h" | ||
25 | 18 | ||
26 | /* Set us up with the realtime metadata locked. */ | 19 | /* Set us up with the realtime metadata locked. */ |
27 | int | 20 | int |
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index f630389ee176..15c8c5f3f688 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c | |||
@@ -9,36 +9,16 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | 13 | #include "xfs_trans.h" |
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
19 | #include "xfs_icache.h" | ||
20 | #include "xfs_itable.h" | ||
21 | #include "xfs_alloc.h" | ||
22 | #include "xfs_alloc_btree.h" | ||
23 | #include "xfs_bmap.h" | ||
24 | #include "xfs_bmap_btree.h" | ||
25 | #include "xfs_ialloc.h" | ||
26 | #include "xfs_ialloc_btree.h" | ||
27 | #include "xfs_refcount.h" | ||
28 | #include "xfs_refcount_btree.h" | ||
29 | #include "xfs_rmap.h" | ||
30 | #include "xfs_rmap_btree.h" | ||
31 | #include "xfs_quota.h" | 15 | #include "xfs_quota.h" |
32 | #include "xfs_qm.h" | 16 | #include "xfs_qm.h" |
33 | #include "xfs_errortag.h" | 17 | #include "xfs_errortag.h" |
34 | #include "xfs_error.h" | 18 | #include "xfs_error.h" |
35 | #include "xfs_log.h" | ||
36 | #include "xfs_trans_priv.h" | ||
37 | #include "scrub/xfs_scrub.h" | ||
38 | #include "scrub/scrub.h" | 19 | #include "scrub/scrub.h" |
39 | #include "scrub/common.h" | 20 | #include "scrub/common.h" |
40 | #include "scrub/trace.h" | 21 | #include "scrub/trace.h" |
41 | #include "scrub/btree.h" | ||
42 | #include "scrub/repair.h" | 22 | #include "scrub/repair.h" |
43 | #include "scrub/health.h" | 23 | #include "scrub/health.h" |
44 | 24 | ||
diff --git a/fs/xfs/scrub/symlink.c b/fs/xfs/scrub/symlink.c index f7ebaa946999..99c0b1234c3c 100644 --- a/fs/xfs/scrub/symlink.c +++ b/fs/xfs/scrub/symlink.c | |||
@@ -9,19 +9,11 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_defer.h" | ||
13 | #include "xfs_btree.h" | ||
14 | #include "xfs_bit.h" | ||
15 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
16 | #include "xfs_trans.h" | ||
17 | #include "xfs_sb.h" | ||
18 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
19 | #include "xfs_inode_fork.h" | ||
20 | #include "xfs_symlink.h" | 14 | #include "xfs_symlink.h" |
21 | #include "scrub/xfs_scrub.h" | ||
22 | #include "scrub/scrub.h" | 15 | #include "scrub/scrub.h" |
23 | #include "scrub/common.h" | 16 | #include "scrub/common.h" |
24 | #include "scrub/trace.h" | ||
25 | 17 | ||
26 | /* Set us up to scrub a symbolic link. */ | 18 | /* Set us up to scrub a symbolic link. */ |
27 | int | 19 | int |
diff --git a/fs/xfs/scrub/trace.c b/fs/xfs/scrub/trace.c index 96feaf8dcdec..9eaab2eb5ed3 100644 --- a/fs/xfs/scrub/trace.c +++ b/fs/xfs/scrub/trace.c | |||
@@ -10,15 +10,9 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_defer.h" | ||
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
16 | #include "xfs_btree.h" | 14 | #include "xfs_btree.h" |
17 | #include "xfs_trans.h" | ||
18 | #include "xfs_bit.h" | ||
19 | #include "scrub/xfs_scrub.h" | ||
20 | #include "scrub/scrub.h" | 15 | #include "scrub/scrub.h" |
21 | #include "scrub/common.h" | ||
22 | 16 | ||
23 | /* Figure out which block the btree cursor was pointing to. */ | 17 | /* Figure out which block the btree cursor was pointing to. */ |
24 | static inline xfs_fsblock_t | 18 | static inline xfs_fsblock_t |
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c index f6af069d4270..cbda40d40326 100644 --- a/fs/xfs/xfs_acl.c +++ b/fs/xfs/xfs_acl.c | |||
@@ -10,11 +10,8 @@ | |||
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_inode.h" | 12 | #include "xfs_inode.h" |
13 | #include "xfs_acl.h" | ||
14 | #include "xfs_attr.h" | 13 | #include "xfs_attr.h" |
15 | #include "xfs_trace.h" | 14 | #include "xfs_trace.h" |
16 | #include <linux/slab.h> | ||
17 | #include <linux/xattr.h> | ||
18 | #include <linux/posix_acl_xattr.h> | 15 | #include <linux/posix_acl_xattr.h> |
19 | 16 | ||
20 | 17 | ||
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index 73c291aeae17..84648f751fbd 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c | |||
@@ -12,16 +12,11 @@ | |||
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
14 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
15 | #include "xfs_inode_item.h" | ||
16 | #include "xfs_alloc.h" | ||
17 | #include "xfs_error.h" | ||
18 | #include "xfs_iomap.h" | 15 | #include "xfs_iomap.h" |
19 | #include "xfs_trace.h" | 16 | #include "xfs_trace.h" |
20 | #include "xfs_bmap.h" | 17 | #include "xfs_bmap.h" |
21 | #include "xfs_bmap_util.h" | 18 | #include "xfs_bmap_util.h" |
22 | #include "xfs_bmap_btree.h" | ||
23 | #include "xfs_reflink.h" | 19 | #include "xfs_reflink.h" |
24 | #include <linux/writeback.h> | ||
25 | 20 | ||
26 | /* | 21 | /* |
27 | * structure owned by writepages passed to individual writepage calls | 22 | * structure owned by writepages passed to individual writepage calls |
diff --git a/fs/xfs/xfs_attr_inactive.c b/fs/xfs/xfs_attr_inactive.c index d4f4c96bcd4c..dc93c51c17de 100644 --- a/fs/xfs/xfs_attr_inactive.c +++ b/fs/xfs/xfs_attr_inactive.c | |||
@@ -15,18 +15,13 @@ | |||
15 | #include "xfs_da_format.h" | 15 | #include "xfs_da_format.h" |
16 | #include "xfs_da_btree.h" | 16 | #include "xfs_da_btree.h" |
17 | #include "xfs_inode.h" | 17 | #include "xfs_inode.h" |
18 | #include "xfs_alloc.h" | ||
19 | #include "xfs_attr_remote.h" | 18 | #include "xfs_attr_remote.h" |
20 | #include "xfs_trans.h" | 19 | #include "xfs_trans.h" |
21 | #include "xfs_inode_item.h" | ||
22 | #include "xfs_bmap.h" | 20 | #include "xfs_bmap.h" |
23 | #include "xfs_attr.h" | 21 | #include "xfs_attr.h" |
24 | #include "xfs_attr_leaf.h" | 22 | #include "xfs_attr_leaf.h" |
25 | #include "xfs_error.h" | ||
26 | #include "xfs_quota.h" | 23 | #include "xfs_quota.h" |
27 | #include "xfs_trace.h" | ||
28 | #include "xfs_dir2.h" | 24 | #include "xfs_dir2.h" |
29 | #include "xfs_defer.h" | ||
30 | 25 | ||
31 | /* | 26 | /* |
32 | * Look at all the extents for this logical region, | 27 | * Look at all the extents for this logical region, |
diff --git a/fs/xfs/xfs_attr_list.c b/fs/xfs/xfs_attr_list.c index 7ffee91a9fdb..58fc820a70c6 100644 --- a/fs/xfs/xfs_attr_list.c +++ b/fs/xfs/xfs_attr_list.c | |||
@@ -10,22 +10,16 @@ | |||
10 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_bit.h" | ||
14 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
15 | #include "xfs_da_format.h" | 14 | #include "xfs_da_format.h" |
16 | #include "xfs_da_btree.h" | ||
17 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
18 | #include "xfs_trans.h" | 16 | #include "xfs_trans.h" |
19 | #include "xfs_inode_item.h" | ||
20 | #include "xfs_bmap.h" | 17 | #include "xfs_bmap.h" |
21 | #include "xfs_attr.h" | 18 | #include "xfs_attr.h" |
22 | #include "xfs_attr_sf.h" | 19 | #include "xfs_attr_sf.h" |
23 | #include "xfs_attr_remote.h" | ||
24 | #include "xfs_attr_leaf.h" | 20 | #include "xfs_attr_leaf.h" |
25 | #include "xfs_error.h" | 21 | #include "xfs_error.h" |
26 | #include "xfs_trace.h" | 22 | #include "xfs_trace.h" |
27 | #include "xfs_buf_item.h" | ||
28 | #include "xfs_cksum.h" | ||
29 | #include "xfs_dir2.h" | 23 | #include "xfs_dir2.h" |
30 | 24 | ||
31 | STATIC int | 25 | STATIC int |
diff --git a/fs/xfs/xfs_bmap_item.c b/fs/xfs/xfs_bmap_item.c index 47c7b170c7b1..9fa4a7ee8cfc 100644 --- a/fs/xfs/xfs_bmap_item.c +++ b/fs/xfs/xfs_bmap_item.c | |||
@@ -15,12 +15,10 @@ | |||
15 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
16 | #include "xfs_trans.h" | 16 | #include "xfs_trans.h" |
17 | #include "xfs_trans_priv.h" | 17 | #include "xfs_trans_priv.h" |
18 | #include "xfs_buf_item.h" | ||
19 | #include "xfs_bmap_item.h" | 18 | #include "xfs_bmap_item.h" |
20 | #include "xfs_log.h" | 19 | #include "xfs_log.h" |
21 | #include "xfs_bmap.h" | 20 | #include "xfs_bmap.h" |
22 | #include "xfs_icache.h" | 21 | #include "xfs_icache.h" |
23 | #include "xfs_trace.h" | ||
24 | #include "xfs_bmap_btree.h" | 22 | #include "xfs_bmap_btree.h" |
25 | #include "xfs_trans_space.h" | 23 | #include "xfs_trans_space.h" |
26 | 24 | ||
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c index b8fa6d337413..98c6a7a71427 100644 --- a/fs/xfs/xfs_bmap_util.c +++ b/fs/xfs/xfs_bmap_util.c | |||
@@ -12,12 +12,10 @@ | |||
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_bit.h" | 13 | #include "xfs_bit.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_da_format.h" | ||
16 | #include "xfs_defer.h" | 15 | #include "xfs_defer.h" |
17 | #include "xfs_inode.h" | 16 | #include "xfs_inode.h" |
18 | #include "xfs_btree.h" | 17 | #include "xfs_btree.h" |
19 | #include "xfs_trans.h" | 18 | #include "xfs_trans.h" |
20 | #include "xfs_extfree_item.h" | ||
21 | #include "xfs_alloc.h" | 19 | #include "xfs_alloc.h" |
22 | #include "xfs_bmap.h" | 20 | #include "xfs_bmap.h" |
23 | #include "xfs_bmap_util.h" | 21 | #include "xfs_bmap_util.h" |
@@ -28,11 +26,8 @@ | |||
28 | #include "xfs_trans_space.h" | 26 | #include "xfs_trans_space.h" |
29 | #include "xfs_trace.h" | 27 | #include "xfs_trace.h" |
30 | #include "xfs_icache.h" | 28 | #include "xfs_icache.h" |
31 | #include "xfs_log.h" | ||
32 | #include "xfs_rmap_btree.h" | ||
33 | #include "xfs_iomap.h" | 29 | #include "xfs_iomap.h" |
34 | #include "xfs_reflink.h" | 30 | #include "xfs_reflink.h" |
35 | #include "xfs_refcount.h" | ||
36 | 31 | ||
37 | /* Kernel only BMAP related definitions and functions */ | 32 | /* Kernel only BMAP related definitions and functions */ |
38 | 33 | ||
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 28e1d16e09a8..ca0849043f54 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -4,23 +4,7 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include <linux/stddef.h> | ||
8 | #include <linux/errno.h> | ||
9 | #include <linux/gfp.h> | ||
10 | #include <linux/pagemap.h> | ||
11 | #include <linux/init.h> | ||
12 | #include <linux/vmalloc.h> | ||
13 | #include <linux/bio.h> | ||
14 | #include <linux/sysctl.h> | ||
15 | #include <linux/proc_fs.h> | ||
16 | #include <linux/workqueue.h> | ||
17 | #include <linux/percpu.h> | ||
18 | #include <linux/blkdev.h> | ||
19 | #include <linux/hash.h> | ||
20 | #include <linux/kthread.h> | ||
21 | #include <linux/migrate.h> | ||
22 | #include <linux/backing-dev.h> | 7 | #include <linux/backing-dev.h> |
23 | #include <linux/freezer.h> | ||
24 | 8 | ||
25 | #include "xfs_shared.h" | 9 | #include "xfs_shared.h" |
26 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index b06d92ee94ff..7dcaec54a20b 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c | |||
@@ -10,15 +10,12 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_sb.h" | ||
14 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
15 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
16 | #include "xfs_buf_item.h" | 15 | #include "xfs_buf_item.h" |
17 | #include "xfs_trans_priv.h" | 16 | #include "xfs_trans_priv.h" |
18 | #include "xfs_error.h" | ||
19 | #include "xfs_trace.h" | 17 | #include "xfs_trace.h" |
20 | #include "xfs_log.h" | 18 | #include "xfs_log.h" |
21 | #include "xfs_inode.h" | ||
22 | 19 | ||
23 | 20 | ||
24 | kmem_zone_t *xfs_buf_item_zone; | 21 | kmem_zone_t *xfs_buf_item_zone; |
diff --git a/fs/xfs/xfs_dir2_readdir.c b/fs/xfs/xfs_dir2_readdir.c index ea7b9d35d30b..283df898dd9f 100644 --- a/fs/xfs/xfs_dir2_readdir.c +++ b/fs/xfs/xfs_dir2_readdir.c | |||
@@ -10,14 +10,10 @@ | |||
10 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_bit.h" | ||
14 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
15 | #include "xfs_da_format.h" | ||
16 | #include "xfs_da_btree.h" | ||
17 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
18 | #include "xfs_dir2.h" | 15 | #include "xfs_dir2.h" |
19 | #include "xfs_dir2_priv.h" | 16 | #include "xfs_dir2_priv.h" |
20 | #include "xfs_error.h" | ||
21 | #include "xfs_trace.h" | 17 | #include "xfs_trace.h" |
22 | #include "xfs_bmap.h" | 18 | #include "xfs_bmap.h" |
23 | #include "xfs_trans.h" | 19 | #include "xfs_trans.h" |
diff --git a/fs/xfs/xfs_discard.c b/fs/xfs/xfs_discard.c index 4f5460be4357..8ec7aab89044 100644 --- a/fs/xfs/xfs_discard.c +++ b/fs/xfs/xfs_discard.c | |||
@@ -10,14 +10,11 @@ | |||
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_sb.h" | 11 | #include "xfs_sb.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_quota.h" | ||
14 | #include "xfs_inode.h" | ||
15 | #include "xfs_btree.h" | 13 | #include "xfs_btree.h" |
16 | #include "xfs_alloc_btree.h" | 14 | #include "xfs_alloc_btree.h" |
17 | #include "xfs_alloc.h" | 15 | #include "xfs_alloc.h" |
18 | #include "xfs_error.h" | 16 | #include "xfs_error.h" |
19 | #include "xfs_extent_busy.h" | 17 | #include "xfs_extent_busy.h" |
20 | #include "xfs_discard.h" | ||
21 | #include "xfs_trace.h" | 18 | #include "xfs_trace.h" |
22 | #include "xfs_log.h" | 19 | #include "xfs_log.h" |
23 | 20 | ||
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c index a1af984e4913..2dfbfcdc16f4 100644 --- a/fs/xfs/xfs_dquot.c +++ b/fs/xfs/xfs_dquot.c | |||
@@ -14,16 +14,12 @@ | |||
14 | #include "xfs_defer.h" | 14 | #include "xfs_defer.h" |
15 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
16 | #include "xfs_bmap.h" | 16 | #include "xfs_bmap.h" |
17 | #include "xfs_bmap_util.h" | ||
18 | #include "xfs_alloc.h" | ||
19 | #include "xfs_quota.h" | 17 | #include "xfs_quota.h" |
20 | #include "xfs_error.h" | ||
21 | #include "xfs_trans.h" | 18 | #include "xfs_trans.h" |
22 | #include "xfs_buf_item.h" | 19 | #include "xfs_buf_item.h" |
23 | #include "xfs_trans_space.h" | 20 | #include "xfs_trans_space.h" |
24 | #include "xfs_trans_priv.h" | 21 | #include "xfs_trans_priv.h" |
25 | #include "xfs_qm.h" | 22 | #include "xfs_qm.h" |
26 | #include "xfs_cksum.h" | ||
27 | #include "xfs_trace.h" | 23 | #include "xfs_trace.h" |
28 | #include "xfs_log.h" | 24 | #include "xfs_log.h" |
29 | #include "xfs_bmap_btree.h" | 25 | #include "xfs_bmap_btree.h" |
diff --git a/fs/xfs/xfs_dquot_item.c b/fs/xfs/xfs_dquot_item.c index cda11cbe6192..282ec5af293e 100644 --- a/fs/xfs/xfs_dquot_item.c +++ b/fs/xfs/xfs_dquot_item.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
14 | #include "xfs_quota.h" | 14 | #include "xfs_quota.h" |
15 | #include "xfs_error.h" | ||
16 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
17 | #include "xfs_buf_item.h" | 16 | #include "xfs_buf_item.h" |
18 | #include "xfs_trans_priv.h" | 17 | #include "xfs_trans_priv.h" |
diff --git a/fs/xfs/xfs_export.c b/fs/xfs/xfs_export.c index e179bea0474d..f1372f9046e3 100644 --- a/fs/xfs/xfs_export.c +++ b/fs/xfs/xfs_export.c | |||
@@ -9,14 +9,11 @@ | |||
9 | #include "xfs_log_format.h" | 9 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
11 | #include "xfs_mount.h" | 11 | #include "xfs_mount.h" |
12 | #include "xfs_da_format.h" | ||
13 | #include "xfs_da_btree.h" | ||
14 | #include "xfs_dir2.h" | 12 | #include "xfs_dir2.h" |
15 | #include "xfs_export.h" | 13 | #include "xfs_export.h" |
16 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
17 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
18 | #include "xfs_inode_item.h" | 16 | #include "xfs_inode_item.h" |
19 | #include "xfs_trace.h" | ||
20 | #include "xfs_icache.h" | 17 | #include "xfs_icache.h" |
21 | #include "xfs_log.h" | 18 | #include "xfs_log.h" |
22 | #include "xfs_pnfs.h" | 19 | #include "xfs_pnfs.h" |
diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c index 87ddb31a15ab..86f6512d6864 100644 --- a/fs/xfs/xfs_extfree_item.c +++ b/fs/xfs/xfs_extfree_item.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include "xfs_defer.h" | 14 | #include "xfs_defer.h" |
15 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
16 | #include "xfs_trans_priv.h" | 16 | #include "xfs_trans_priv.h" |
17 | #include "xfs_buf_item.h" | ||
18 | #include "xfs_extfree_item.h" | 17 | #include "xfs_extfree_item.h" |
19 | #include "xfs_log.h" | 18 | #include "xfs_log.h" |
20 | #include "xfs_btree.h" | 19 | #include "xfs_btree.h" |
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 916a35cae5e9..3041b44e38c6 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c | |||
@@ -10,14 +10,11 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_da_format.h" | ||
14 | #include "xfs_da_btree.h" | ||
15 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
16 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
17 | #include "xfs_inode_item.h" | 15 | #include "xfs_inode_item.h" |
18 | #include "xfs_bmap.h" | 16 | #include "xfs_bmap.h" |
19 | #include "xfs_bmap_util.h" | 17 | #include "xfs_bmap_util.h" |
20 | #include "xfs_error.h" | ||
21 | #include "xfs_dir2.h" | 18 | #include "xfs_dir2.h" |
22 | #include "xfs_dir2_priv.h" | 19 | #include "xfs_dir2_priv.h" |
23 | #include "xfs_ioctl.h" | 20 | #include "xfs_ioctl.h" |
@@ -28,9 +25,7 @@ | |||
28 | #include "xfs_iomap.h" | 25 | #include "xfs_iomap.h" |
29 | #include "xfs_reflink.h" | 26 | #include "xfs_reflink.h" |
30 | 27 | ||
31 | #include <linux/dcache.h> | ||
32 | #include <linux/falloc.h> | 28 | #include <linux/falloc.h> |
33 | #include <linux/pagevec.h> | ||
34 | #include <linux/backing-dev.h> | 29 | #include <linux/backing-dev.h> |
35 | #include <linux/mman.h> | 30 | #include <linux/mman.h> |
36 | 31 | ||
diff --git a/fs/xfs/xfs_filestream.c b/fs/xfs/xfs_filestream.c index b1869aebb263..574a7a8b4736 100644 --- a/fs/xfs/xfs_filestream.c +++ b/fs/xfs/xfs_filestream.c | |||
@@ -11,17 +11,13 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_sb.h" | 12 | #include "xfs_sb.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | ||
15 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
16 | #include "xfs_bmap.h" | 15 | #include "xfs_bmap.h" |
17 | #include "xfs_bmap_util.h" | ||
18 | #include "xfs_alloc.h" | 16 | #include "xfs_alloc.h" |
19 | #include "xfs_mru_cache.h" | 17 | #include "xfs_mru_cache.h" |
20 | #include "xfs_filestream.h" | ||
21 | #include "xfs_trace.h" | 18 | #include "xfs_trace.h" |
22 | #include "xfs_ag_resv.h" | 19 | #include "xfs_ag_resv.h" |
23 | #include "xfs_trans.h" | 20 | #include "xfs_trans.h" |
24 | #include "xfs_shared.h" | ||
25 | 21 | ||
26 | struct xfs_fstrm_item { | 22 | struct xfs_fstrm_item { |
27 | struct xfs_mru_cache_elem mru; | 23 | struct xfs_mru_cache_elem mru; |
diff --git a/fs/xfs/xfs_fsmap.c b/fs/xfs/xfs_fsmap.c index 3d76a9e35870..5a8f9641562a 100644 --- a/fs/xfs/xfs_fsmap.c +++ b/fs/xfs/xfs_fsmap.c | |||
@@ -9,16 +9,12 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_sb.h" | ||
13 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | ||
15 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
16 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
17 | #include "xfs_error.h" | ||
18 | #include "xfs_btree.h" | 15 | #include "xfs_btree.h" |
19 | #include "xfs_rmap_btree.h" | 16 | #include "xfs_rmap_btree.h" |
20 | #include "xfs_trace.h" | 17 | #include "xfs_trace.h" |
21 | #include "xfs_log.h" | ||
22 | #include "xfs_rmap.h" | 18 | #include "xfs_rmap.h" |
23 | #include "xfs_alloc.h" | 19 | #include "xfs_alloc.h" |
24 | #include "xfs_bit.h" | 20 | #include "xfs_bit.h" |
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c index 773cb02e7312..3e61d0cc23f8 100644 --- a/fs/xfs/xfs_fsops.c +++ b/fs/xfs/xfs_fsops.c | |||
@@ -11,15 +11,11 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_sb.h" | 12 | #include "xfs_sb.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | ||
15 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
16 | #include "xfs_error.h" | 15 | #include "xfs_error.h" |
17 | #include "xfs_btree.h" | ||
18 | #include "xfs_alloc.h" | 16 | #include "xfs_alloc.h" |
19 | #include "xfs_fsops.h" | 17 | #include "xfs_fsops.h" |
20 | #include "xfs_trans_space.h" | 18 | #include "xfs_trans_space.h" |
21 | #include "xfs_rtalloc.h" | ||
22 | #include "xfs_trace.h" | ||
23 | #include "xfs_log.h" | 19 | #include "xfs_log.h" |
24 | #include "xfs_ag.h" | 20 | #include "xfs_ag.h" |
25 | #include "xfs_ag_resv.h" | 21 | #include "xfs_ag_resv.h" |
diff --git a/fs/xfs/xfs_globals.c b/fs/xfs/xfs_globals.c index d0d377384120..4e4a7a299ccb 100644 --- a/fs/xfs/xfs_globals.c +++ b/fs/xfs/xfs_globals.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_sysctl.h" | ||
8 | 7 | ||
9 | /* | 8 | /* |
10 | * Tunable XFS parameters. xfs_params is required even when CONFIG_SYSCTL=n, | 9 | * Tunable XFS parameters. xfs_params is required even when CONFIG_SYSCTL=n, |
diff --git a/fs/xfs/xfs_health.c b/fs/xfs/xfs_health.c index 4c4929f9e7bf..ca66c314a928 100644 --- a/fs/xfs/xfs_health.c +++ b/fs/xfs/xfs_health.c | |||
@@ -9,12 +9,8 @@ | |||
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | ||
13 | #include "xfs_sb.h" | 12 | #include "xfs_sb.h" |
14 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | ||
16 | #include "xfs_da_format.h" | ||
17 | #include "xfs_da_btree.h" | ||
18 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
19 | #include "xfs_trace.h" | 15 | #include "xfs_trace.h" |
20 | #include "xfs_health.h" | 16 | #include "xfs_health.h" |
diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index 336501694443..0b0fd10a36d4 100644 --- a/fs/xfs/xfs_icache.c +++ b/fs/xfs/xfs_icache.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include "xfs_sb.h" | 12 | #include "xfs_sb.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
15 | #include "xfs_error.h" | ||
16 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
17 | #include "xfs_trans_priv.h" | 16 | #include "xfs_trans_priv.h" |
18 | #include "xfs_inode_item.h" | 17 | #include "xfs_inode_item.h" |
@@ -24,8 +23,6 @@ | |||
24 | #include "xfs_dquot.h" | 23 | #include "xfs_dquot.h" |
25 | #include "xfs_reflink.h" | 24 | #include "xfs_reflink.h" |
26 | 25 | ||
27 | #include <linux/kthread.h> | ||
28 | #include <linux/freezer.h> | ||
29 | #include <linux/iversion.h> | 26 | #include <linux/iversion.h> |
30 | 27 | ||
31 | /* | 28 | /* |
diff --git a/fs/xfs/xfs_icreate_item.c b/fs/xfs/xfs_icreate_item.c index c0376135889d..d99a0a3e5f40 100644 --- a/fs/xfs/xfs_icreate_item.c +++ b/fs/xfs/xfs_icreate_item.c | |||
@@ -6,14 +6,9 @@ | |||
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_fs.h" | 7 | #include "xfs_fs.h" |
8 | #include "xfs_shared.h" | 8 | #include "xfs_shared.h" |
9 | #include "xfs_format.h" | ||
10 | #include "xfs_log_format.h" | 9 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | ||
12 | #include "xfs_bit.h" | ||
13 | #include "xfs_mount.h" | ||
14 | #include "xfs_trans.h" | 10 | #include "xfs_trans.h" |
15 | #include "xfs_trans_priv.h" | 11 | #include "xfs_trans_priv.h" |
16 | #include "xfs_error.h" | ||
17 | #include "xfs_icreate_item.h" | 12 | #include "xfs_icreate_item.h" |
18 | #include "xfs_log.h" | 13 | #include "xfs_log.h" |
19 | 14 | ||
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index f06e544c102e..6467d5e1df2d 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -3,7 +3,6 @@ | |||
3 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. | 3 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. |
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include <linux/log2.h> | ||
7 | #include <linux/iversion.h> | 6 | #include <linux/iversion.h> |
8 | 7 | ||
9 | #include "xfs.h" | 8 | #include "xfs.h" |
@@ -16,10 +15,7 @@ | |||
16 | #include "xfs_mount.h" | 15 | #include "xfs_mount.h" |
17 | #include "xfs_defer.h" | 16 | #include "xfs_defer.h" |
18 | #include "xfs_inode.h" | 17 | #include "xfs_inode.h" |
19 | #include "xfs_da_format.h" | ||
20 | #include "xfs_da_btree.h" | ||
21 | #include "xfs_dir2.h" | 18 | #include "xfs_dir2.h" |
22 | #include "xfs_attr_sf.h" | ||
23 | #include "xfs_attr.h" | 19 | #include "xfs_attr.h" |
24 | #include "xfs_trans_space.h" | 20 | #include "xfs_trans_space.h" |
25 | #include "xfs_trans.h" | 21 | #include "xfs_trans.h" |
@@ -32,7 +28,6 @@ | |||
32 | #include "xfs_error.h" | 28 | #include "xfs_error.h" |
33 | #include "xfs_quota.h" | 29 | #include "xfs_quota.h" |
34 | #include "xfs_filestream.h" | 30 | #include "xfs_filestream.h" |
35 | #include "xfs_cksum.h" | ||
36 | #include "xfs_trace.h" | 31 | #include "xfs_trace.h" |
37 | #include "xfs_icache.h" | 32 | #include "xfs_icache.h" |
38 | #include "xfs_symlink.h" | 33 | #include "xfs_symlink.h" |
@@ -40,7 +35,6 @@ | |||
40 | #include "xfs_log.h" | 35 | #include "xfs_log.h" |
41 | #include "xfs_bmap_btree.h" | 36 | #include "xfs_bmap_btree.h" |
42 | #include "xfs_reflink.h" | 37 | #include "xfs_reflink.h" |
43 | #include "xfs_dir2_priv.h" | ||
44 | 38 | ||
45 | kmem_zone_t *xfs_inode_zone; | 39 | kmem_zone_t *xfs_inode_zone; |
46 | 40 | ||
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c index 78c571ce8301..c9a502eed204 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
14 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
15 | #include "xfs_inode_item.h" | 15 | #include "xfs_inode_item.h" |
16 | #include "xfs_error.h" | ||
17 | #include "xfs_trace.h" | 16 | #include "xfs_trace.h" |
18 | #include "xfs_trans_priv.h" | 17 | #include "xfs_trans_priv.h" |
19 | #include "xfs_buf_item.h" | 18 | #include "xfs_buf_item.h" |
diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c index d7dfc13f30f5..7f1732ad6c40 100644 --- a/fs/xfs/xfs_ioctl.c +++ b/fs/xfs/xfs_ioctl.c | |||
@@ -11,8 +11,6 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
14 | #include "xfs_ioctl.h" | ||
15 | #include "xfs_alloc.h" | ||
16 | #include "xfs_rtalloc.h" | 14 | #include "xfs_rtalloc.h" |
17 | #include "xfs_itable.h" | 15 | #include "xfs_itable.h" |
18 | #include "xfs_error.h" | 16 | #include "xfs_error.h" |
@@ -25,7 +23,6 @@ | |||
25 | #include "xfs_export.h" | 23 | #include "xfs_export.h" |
26 | #include "xfs_trace.h" | 24 | #include "xfs_trace.h" |
27 | #include "xfs_icache.h" | 25 | #include "xfs_icache.h" |
28 | #include "xfs_symlink.h" | ||
29 | #include "xfs_trans.h" | 26 | #include "xfs_trans.h" |
30 | #include "xfs_acl.h" | 27 | #include "xfs_acl.h" |
31 | #include "xfs_btree.h" | 28 | #include "xfs_btree.h" |
@@ -36,14 +33,8 @@ | |||
36 | #include "xfs_ag.h" | 33 | #include "xfs_ag.h" |
37 | #include "xfs_health.h" | 34 | #include "xfs_health.h" |
38 | 35 | ||
39 | #include <linux/capability.h> | ||
40 | #include <linux/cred.h> | ||
41 | #include <linux/dcache.h> | ||
42 | #include <linux/mount.h> | 36 | #include <linux/mount.h> |
43 | #include <linux/namei.h> | 37 | #include <linux/namei.h> |
44 | #include <linux/pagemap.h> | ||
45 | #include <linux/slab.h> | ||
46 | #include <linux/exportfs.h> | ||
47 | 38 | ||
48 | /* | 39 | /* |
49 | * xfs_find_handle maps from userspace xfs_fsop_handlereq structure to | 40 | * xfs_find_handle maps from userspace xfs_fsop_handlereq structure to |
diff --git a/fs/xfs/xfs_ioctl32.c b/fs/xfs/xfs_ioctl32.c index 0f20385ec3c6..d1967fe67472 100644 --- a/fs/xfs/xfs_ioctl32.c +++ b/fs/xfs/xfs_ioctl32.c | |||
@@ -3,11 +3,7 @@ | |||
3 | * Copyright (c) 2004-2005 Silicon Graphics, Inc. | 3 | * Copyright (c) 2004-2005 Silicon Graphics, Inc. |
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include <linux/compat.h> | ||
7 | #include <linux/ioctl.h> | ||
8 | #include <linux/mount.h> | 6 | #include <linux/mount.h> |
9 | #include <linux/slab.h> | ||
10 | #include <linux/uaccess.h> | ||
11 | #include <linux/fsmap.h> | 7 | #include <linux/fsmap.h> |
12 | #include "xfs.h" | 8 | #include "xfs.h" |
13 | #include "xfs_fs.h" | 9 | #include "xfs_fs.h" |
@@ -18,9 +14,7 @@ | |||
18 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
19 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
20 | #include "xfs_itable.h" | 16 | #include "xfs_itable.h" |
21 | #include "xfs_error.h" | ||
22 | #include "xfs_fsops.h" | 17 | #include "xfs_fsops.h" |
23 | #include "xfs_alloc.h" | ||
24 | #include "xfs_rtalloc.h" | 18 | #include "xfs_rtalloc.h" |
25 | #include "xfs_attr.h" | 19 | #include "xfs_attr.h" |
26 | #include "xfs_ioctl.h" | 20 | #include "xfs_ioctl.h" |
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 63d323916bba..b1ef32822bb9 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * Copyright (c) 2016-2018 Christoph Hellwig. | 4 | * Copyright (c) 2016-2018 Christoph Hellwig. |
5 | * All Rights Reserved. | 5 | * All Rights Reserved. |
6 | */ | 6 | */ |
7 | #include <linux/iomap.h> | ||
8 | #include "xfs.h" | 7 | #include "xfs.h" |
9 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
10 | #include "xfs_shared.h" | 9 | #include "xfs_shared.h" |
@@ -12,7 +11,6 @@ | |||
12 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
13 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
14 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | ||
16 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
17 | #include "xfs_btree.h" | 15 | #include "xfs_btree.h" |
18 | #include "xfs_bmap_btree.h" | 16 | #include "xfs_bmap_btree.h" |
@@ -25,7 +23,6 @@ | |||
25 | #include "xfs_inode_item.h" | 23 | #include "xfs_inode_item.h" |
26 | #include "xfs_iomap.h" | 24 | #include "xfs_iomap.h" |
27 | #include "xfs_trace.h" | 25 | #include "xfs_trace.h" |
28 | #include "xfs_icache.h" | ||
29 | #include "xfs_quota.h" | 26 | #include "xfs_quota.h" |
30 | #include "xfs_dquot_item.h" | 27 | #include "xfs_dquot_item.h" |
31 | #include "xfs_dquot.h" | 28 | #include "xfs_dquot.h" |
diff --git a/fs/xfs/xfs_iops.c b/fs/xfs/xfs_iops.c index 74047bd0c1ae..ff3c1fae5357 100644 --- a/fs/xfs/xfs_iops.c +++ b/fs/xfs/xfs_iops.c | |||
@@ -10,30 +10,20 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_da_format.h" | ||
14 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
15 | #include "xfs_bmap.h" | ||
16 | #include "xfs_bmap_util.h" | ||
17 | #include "xfs_acl.h" | 14 | #include "xfs_acl.h" |
18 | #include "xfs_quota.h" | 15 | #include "xfs_quota.h" |
19 | #include "xfs_error.h" | ||
20 | #include "xfs_attr.h" | 16 | #include "xfs_attr.h" |
21 | #include "xfs_trans.h" | 17 | #include "xfs_trans.h" |
22 | #include "xfs_trace.h" | 18 | #include "xfs_trace.h" |
23 | #include "xfs_icache.h" | 19 | #include "xfs_icache.h" |
24 | #include "xfs_symlink.h" | 20 | #include "xfs_symlink.h" |
25 | #include "xfs_da_btree.h" | ||
26 | #include "xfs_dir2.h" | 21 | #include "xfs_dir2.h" |
27 | #include "xfs_trans_space.h" | ||
28 | #include "xfs_iomap.h" | 22 | #include "xfs_iomap.h" |
29 | #include "xfs_defer.h" | ||
30 | 23 | ||
31 | #include <linux/capability.h> | ||
32 | #include <linux/xattr.h> | 24 | #include <linux/xattr.h> |
33 | #include <linux/posix_acl.h> | 25 | #include <linux/posix_acl.h> |
34 | #include <linux/security.h> | 26 | #include <linux/security.h> |
35 | #include <linux/iomap.h> | ||
36 | #include <linux/slab.h> | ||
37 | #include <linux/iversion.h> | 27 | #include <linux/iversion.h> |
38 | 28 | ||
39 | /* | 29 | /* |
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index eef307cf90a7..31f5df636d8a 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include "xfs_ialloc_btree.h" | 16 | #include "xfs_ialloc_btree.h" |
17 | #include "xfs_itable.h" | 17 | #include "xfs_itable.h" |
18 | #include "xfs_error.h" | 18 | #include "xfs_error.h" |
19 | #include "xfs_trace.h" | ||
20 | #include "xfs_icache.h" | 19 | #include "xfs_icache.h" |
21 | #include "xfs_health.h" | 20 | #include "xfs_health.h" |
22 | 21 | ||
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 0f849b4095d6..92cd44ac4dd3 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -16,11 +16,7 @@ | |||
16 | #include "xfs_trans_priv.h" | 16 | #include "xfs_trans_priv.h" |
17 | #include "xfs_log.h" | 17 | #include "xfs_log.h" |
18 | #include "xfs_log_priv.h" | 18 | #include "xfs_log_priv.h" |
19 | #include "xfs_log_recover.h" | ||
20 | #include "xfs_inode.h" | ||
21 | #include "xfs_trace.h" | 19 | #include "xfs_trace.h" |
22 | #include "xfs_fsops.h" | ||
23 | #include "xfs_cksum.h" | ||
24 | #include "xfs_sysfs.h" | 20 | #include "xfs_sysfs.h" |
25 | #include "xfs_sb.h" | 21 | #include "xfs_sb.h" |
26 | #include "xfs_health.h" | 22 | #include "xfs_health.h" |
diff --git a/fs/xfs/xfs_log_cil.c b/fs/xfs/xfs_log_cil.c index f1855d8ab1f1..fa5602d0fd7f 100644 --- a/fs/xfs/xfs_log_cil.c +++ b/fs/xfs/xfs_log_cil.c | |||
@@ -10,10 +10,7 @@ | |||
10 | #include "xfs_shared.h" | 10 | #include "xfs_shared.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_error.h" | ||
14 | #include "xfs_alloc.h" | ||
15 | #include "xfs_extent_busy.h" | 13 | #include "xfs_extent_busy.h" |
16 | #include "xfs_discard.h" | ||
17 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
18 | #include "xfs_trans_priv.h" | 15 | #include "xfs_trans_priv.h" |
19 | #include "xfs_log.h" | 16 | #include "xfs_log.h" |
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 06b84bc8100a..1fc70ac61c38 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c | |||
@@ -13,8 +13,6 @@ | |||
13 | #include "xfs_sb.h" | 13 | #include "xfs_sb.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | 15 | #include "xfs_defer.h" |
16 | #include "xfs_da_format.h" | ||
17 | #include "xfs_da_btree.h" | ||
18 | #include "xfs_inode.h" | 16 | #include "xfs_inode.h" |
19 | #include "xfs_trans.h" | 17 | #include "xfs_trans.h" |
20 | #include "xfs_log.h" | 18 | #include "xfs_log.h" |
@@ -26,7 +24,6 @@ | |||
26 | #include "xfs_alloc.h" | 24 | #include "xfs_alloc.h" |
27 | #include "xfs_ialloc.h" | 25 | #include "xfs_ialloc.h" |
28 | #include "xfs_quota.h" | 26 | #include "xfs_quota.h" |
29 | #include "xfs_cksum.h" | ||
30 | #include "xfs_trace.h" | 27 | #include "xfs_trace.h" |
31 | #include "xfs_icache.h" | 28 | #include "xfs_icache.h" |
32 | #include "xfs_bmap_btree.h" | 29 | #include "xfs_bmap_btree.h" |
diff --git a/fs/xfs/xfs_message.c b/fs/xfs/xfs_message.c index 6cb1f2468dd0..9804efe525a9 100644 --- a/fs/xfs/xfs_message.c +++ b/fs/xfs/xfs_message.c | |||
@@ -8,7 +8,6 @@ | |||
8 | #include "xfs_error.h" | 8 | #include "xfs_error.h" |
9 | #include "xfs_shared.h" | 9 | #include "xfs_shared.h" |
10 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
11 | #include "xfs_log_format.h" | ||
12 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
13 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
14 | 13 | ||
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index 4e2c63649cab..322da6909290 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -12,9 +12,6 @@ | |||
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_sb.h" | 13 | #include "xfs_sb.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_defer.h" | ||
16 | #include "xfs_da_format.h" | ||
17 | #include "xfs_da_btree.h" | ||
18 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
19 | #include "xfs_dir2.h" | 16 | #include "xfs_dir2.h" |
20 | #include "xfs_ialloc.h" | 17 | #include "xfs_ialloc.h" |
@@ -27,7 +24,6 @@ | |||
27 | #include "xfs_error.h" | 24 | #include "xfs_error.h" |
28 | #include "xfs_quota.h" | 25 | #include "xfs_quota.h" |
29 | #include "xfs_fsops.h" | 26 | #include "xfs_fsops.h" |
30 | #include "xfs_trace.h" | ||
31 | #include "xfs_icache.h" | 27 | #include "xfs_icache.h" |
32 | #include "xfs_sysfs.h" | 28 | #include "xfs_sysfs.h" |
33 | #include "xfs_rmap_btree.h" | 29 | #include "xfs_rmap_btree.h" |
diff --git a/fs/xfs/xfs_pnfs.c b/fs/xfs/xfs_pnfs.c index 2d95355a8a0a..0c954cad7449 100644 --- a/fs/xfs/xfs_pnfs.c +++ b/fs/xfs/xfs_pnfs.c | |||
@@ -2,24 +2,16 @@ | |||
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Christoph Hellwig. | 3 | * Copyright (c) 2014 Christoph Hellwig. |
4 | */ | 4 | */ |
5 | #include <linux/iomap.h> | ||
6 | #include "xfs.h" | 5 | #include "xfs.h" |
7 | #include "xfs_shared.h" | 6 | #include "xfs_shared.h" |
8 | #include "xfs_format.h" | 7 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 8 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 9 | #include "xfs_trans_resv.h" |
11 | #include "xfs_sb.h" | ||
12 | #include "xfs_mount.h" | 10 | #include "xfs_mount.h" |
13 | #include "xfs_inode.h" | 11 | #include "xfs_inode.h" |
14 | #include "xfs_trans.h" | 12 | #include "xfs_trans.h" |
15 | #include "xfs_log.h" | ||
16 | #include "xfs_bmap.h" | 13 | #include "xfs_bmap.h" |
17 | #include "xfs_bmap_util.h" | ||
18 | #include "xfs_error.h" | ||
19 | #include "xfs_iomap.h" | 14 | #include "xfs_iomap.h" |
20 | #include "xfs_shared.h" | ||
21 | #include "xfs_bit.h" | ||
22 | #include "xfs_pnfs.h" | ||
23 | 15 | ||
24 | /* | 16 | /* |
25 | * Ensure that we do not have any outstanding pNFS layouts that can be used by | 17 | * Ensure that we do not have any outstanding pNFS layouts that can be used by |
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index aa6b6db3db0e..71c5d7b98dd5 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c | |||
@@ -13,19 +13,15 @@ | |||
13 | #include "xfs_sb.h" | 13 | #include "xfs_sb.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
16 | #include "xfs_ialloc.h" | ||
17 | #include "xfs_itable.h" | 16 | #include "xfs_itable.h" |
18 | #include "xfs_quota.h" | 17 | #include "xfs_quota.h" |
19 | #include "xfs_error.h" | ||
20 | #include "xfs_bmap.h" | 18 | #include "xfs_bmap.h" |
21 | #include "xfs_bmap_btree.h" | ||
22 | #include "xfs_bmap_util.h" | 19 | #include "xfs_bmap_util.h" |
23 | #include "xfs_trans.h" | 20 | #include "xfs_trans.h" |
24 | #include "xfs_trans_space.h" | 21 | #include "xfs_trans_space.h" |
25 | #include "xfs_qm.h" | 22 | #include "xfs_qm.h" |
26 | #include "xfs_trace.h" | 23 | #include "xfs_trace.h" |
27 | #include "xfs_icache.h" | 24 | #include "xfs_icache.h" |
28 | #include "xfs_cksum.h" | ||
29 | 25 | ||
30 | /* | 26 | /* |
31 | * The global quota manager. There is only one of these for the entire | 27 | * The global quota manager. There is only one of these for the entire |
diff --git a/fs/xfs/xfs_qm_bhv.c b/fs/xfs/xfs_qm_bhv.c index 8f03478dabea..5d72e88598b4 100644 --- a/fs/xfs/xfs_qm_bhv.c +++ b/fs/xfs/xfs_qm_bhv.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include "xfs_quota.h" | 12 | #include "xfs_quota.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
15 | #include "xfs_error.h" | ||
16 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
17 | #include "xfs_qm.h" | 16 | #include "xfs_qm.h" |
18 | 17 | ||
diff --git a/fs/xfs/xfs_qm_syscalls.c b/fs/xfs/xfs_qm_syscalls.c index b3190890f096..da7ad0383037 100644 --- a/fs/xfs/xfs_qm_syscalls.c +++ b/fs/xfs/xfs_qm_syscalls.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/capability.h> | ||
8 | 7 | ||
9 | #include "xfs.h" | 8 | #include "xfs.h" |
10 | #include "xfs_fs.h" | 9 | #include "xfs_fs.h" |
@@ -12,17 +11,13 @@ | |||
12 | #include "xfs_format.h" | 11 | #include "xfs_format.h" |
13 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
14 | #include "xfs_trans_resv.h" | 13 | #include "xfs_trans_resv.h" |
15 | #include "xfs_bit.h" | ||
16 | #include "xfs_sb.h" | 14 | #include "xfs_sb.h" |
17 | #include "xfs_mount.h" | 15 | #include "xfs_mount.h" |
18 | #include "xfs_inode.h" | 16 | #include "xfs_inode.h" |
19 | #include "xfs_trans.h" | 17 | #include "xfs_trans.h" |
20 | #include "xfs_error.h" | ||
21 | #include "xfs_quota.h" | 18 | #include "xfs_quota.h" |
22 | #include "xfs_qm.h" | 19 | #include "xfs_qm.h" |
23 | #include "xfs_trace.h" | ||
24 | #include "xfs_icache.h" | 20 | #include "xfs_icache.h" |
25 | #include "xfs_defer.h" | ||
26 | 21 | ||
27 | STATIC int xfs_qm_log_quotaoff(xfs_mount_t *, xfs_qoff_logitem_t **, uint); | 22 | STATIC int xfs_qm_log_quotaoff(xfs_mount_t *, xfs_qoff_logitem_t **, uint); |
28 | STATIC int xfs_qm_log_quotaoff_end(xfs_mount_t *, xfs_qoff_logitem_t *, | 23 | STATIC int xfs_qm_log_quotaoff_end(xfs_mount_t *, xfs_qoff_logitem_t *, |
diff --git a/fs/xfs/xfs_quotaops.c b/fs/xfs/xfs_quotaops.c index d453c2c32e04..cd6c7210a373 100644 --- a/fs/xfs/xfs_quotaops.c +++ b/fs/xfs/xfs_quotaops.c | |||
@@ -12,10 +12,8 @@ | |||
12 | #include "xfs_inode.h" | 12 | #include "xfs_inode.h" |
13 | #include "xfs_quota.h" | 13 | #include "xfs_quota.h" |
14 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
15 | #include "xfs_trace.h" | ||
16 | #include "xfs_icache.h" | 15 | #include "xfs_icache.h" |
17 | #include "xfs_qm.h" | 16 | #include "xfs_qm.h" |
18 | #include <linux/quota.h> | ||
19 | 17 | ||
20 | 18 | ||
21 | static void | 19 | static void |
diff --git a/fs/xfs/xfs_refcount_item.c b/fs/xfs/xfs_refcount_item.c index e8a13872389f..d8288aa0670a 100644 --- a/fs/xfs/xfs_refcount_item.c +++ b/fs/xfs/xfs_refcount_item.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include "xfs_defer.h" | 14 | #include "xfs_defer.h" |
15 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
16 | #include "xfs_trans_priv.h" | 16 | #include "xfs_trans_priv.h" |
17 | #include "xfs_buf_item.h" | ||
18 | #include "xfs_refcount_item.h" | 17 | #include "xfs_refcount_item.h" |
19 | #include "xfs_log.h" | 18 | #include "xfs_log.h" |
20 | #include "xfs_refcount.h" | 19 | #include "xfs_refcount.h" |
diff --git a/fs/xfs/xfs_reflink.c b/fs/xfs/xfs_reflink.c index 680ae7662a78..da0ef8483c13 100644 --- a/fs/xfs/xfs_reflink.c +++ b/fs/xfs/xfs_reflink.c | |||
@@ -11,21 +11,12 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_defer.h" | 13 | #include "xfs_defer.h" |
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_da_btree.h" | ||
16 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
17 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
18 | #include "xfs_inode_item.h" | ||
19 | #include "xfs_bmap.h" | 16 | #include "xfs_bmap.h" |
20 | #include "xfs_bmap_util.h" | 17 | #include "xfs_bmap_util.h" |
21 | #include "xfs_error.h" | ||
22 | #include "xfs_dir2.h" | ||
23 | #include "xfs_dir2_priv.h" | ||
24 | #include "xfs_ioctl.h" | ||
25 | #include "xfs_trace.h" | 18 | #include "xfs_trace.h" |
26 | #include "xfs_log.h" | ||
27 | #include "xfs_icache.h" | 19 | #include "xfs_icache.h" |
28 | #include "xfs_pnfs.h" | ||
29 | #include "xfs_btree.h" | 20 | #include "xfs_btree.h" |
30 | #include "xfs_refcount_btree.h" | 21 | #include "xfs_refcount_btree.h" |
31 | #include "xfs_refcount.h" | 22 | #include "xfs_refcount.h" |
@@ -33,11 +24,9 @@ | |||
33 | #include "xfs_trans_space.h" | 24 | #include "xfs_trans_space.h" |
34 | #include "xfs_bit.h" | 25 | #include "xfs_bit.h" |
35 | #include "xfs_alloc.h" | 26 | #include "xfs_alloc.h" |
36 | #include "xfs_quota_defs.h" | ||
37 | #include "xfs_quota.h" | 27 | #include "xfs_quota.h" |
38 | #include "xfs_reflink.h" | 28 | #include "xfs_reflink.h" |
39 | #include "xfs_iomap.h" | 29 | #include "xfs_iomap.h" |
40 | #include "xfs_rmap_btree.h" | ||
41 | #include "xfs_sb.h" | 30 | #include "xfs_sb.h" |
42 | #include "xfs_ag_resv.h" | 31 | #include "xfs_ag_resv.h" |
43 | 32 | ||
diff --git a/fs/xfs/xfs_rmap_item.c b/fs/xfs/xfs_rmap_item.c index 0d01a975605c..77ed557b6127 100644 --- a/fs/xfs/xfs_rmap_item.c +++ b/fs/xfs/xfs_rmap_item.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include "xfs_defer.h" | 14 | #include "xfs_defer.h" |
15 | #include "xfs_trans.h" | 15 | #include "xfs_trans.h" |
16 | #include "xfs_trans_priv.h" | 16 | #include "xfs_trans_priv.h" |
17 | #include "xfs_buf_item.h" | ||
18 | #include "xfs_rmap_item.h" | 17 | #include "xfs_rmap_item.h" |
19 | #include "xfs_log.h" | 18 | #include "xfs_log.h" |
20 | #include "xfs_rmap.h" | 19 | #include "xfs_rmap.h" |
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c index ac0fcdad0c4e..5fa4db3c3e32 100644 --- a/fs/xfs/xfs_rtalloc.c +++ b/fs/xfs/xfs_rtalloc.c | |||
@@ -11,17 +11,11 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_defer.h" | ||
15 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
16 | #include "xfs_bmap.h" | 15 | #include "xfs_bmap.h" |
17 | #include "xfs_bmap_util.h" | ||
18 | #include "xfs_bmap_btree.h" | 16 | #include "xfs_bmap_btree.h" |
19 | #include "xfs_alloc.h" | ||
20 | #include "xfs_error.h" | ||
21 | #include "xfs_trans.h" | 17 | #include "xfs_trans.h" |
22 | #include "xfs_trans_space.h" | 18 | #include "xfs_trans_space.h" |
23 | #include "xfs_trace.h" | ||
24 | #include "xfs_buf.h" | ||
25 | #include "xfs_icache.h" | 19 | #include "xfs_icache.h" |
26 | #include "xfs_rtalloc.h" | 20 | #include "xfs_rtalloc.h" |
27 | 21 | ||
diff --git a/fs/xfs/xfs_stats.c b/fs/xfs/xfs_stats.c index cc509743facd..113883c4f202 100644 --- a/fs/xfs/xfs_stats.c +++ b/fs/xfs/xfs_stats.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include <linux/proc_fs.h> | ||
8 | 7 | ||
9 | struct xstats xfsstats; | 8 | struct xstats xfsstats; |
10 | 9 | ||
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 94fd0a6e3842..f9450235533c 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c | |||
@@ -11,18 +11,15 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_sb.h" | 12 | #include "xfs_sb.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_da_format.h" | ||
15 | #include "xfs_inode.h" | 14 | #include "xfs_inode.h" |
16 | #include "xfs_btree.h" | 15 | #include "xfs_btree.h" |
17 | #include "xfs_bmap.h" | 16 | #include "xfs_bmap.h" |
18 | #include "xfs_alloc.h" | 17 | #include "xfs_alloc.h" |
19 | #include "xfs_error.h" | ||
20 | #include "xfs_fsops.h" | 18 | #include "xfs_fsops.h" |
21 | #include "xfs_trans.h" | 19 | #include "xfs_trans.h" |
22 | #include "xfs_buf_item.h" | 20 | #include "xfs_buf_item.h" |
23 | #include "xfs_log.h" | 21 | #include "xfs_log.h" |
24 | #include "xfs_log_priv.h" | 22 | #include "xfs_log_priv.h" |
25 | #include "xfs_da_btree.h" | ||
26 | #include "xfs_dir2.h" | 23 | #include "xfs_dir2.h" |
27 | #include "xfs_extfree_item.h" | 24 | #include "xfs_extfree_item.h" |
28 | #include "xfs_mru_cache.h" | 25 | #include "xfs_mru_cache.h" |
@@ -38,18 +35,8 @@ | |||
38 | #include "xfs_refcount_item.h" | 35 | #include "xfs_refcount_item.h" |
39 | #include "xfs_bmap_item.h" | 36 | #include "xfs_bmap_item.h" |
40 | #include "xfs_reflink.h" | 37 | #include "xfs_reflink.h" |
41 | #include "xfs_defer.h" | ||
42 | 38 | ||
43 | #include <linux/namei.h> | ||
44 | #include <linux/dax.h> | ||
45 | #include <linux/init.h> | ||
46 | #include <linux/slab.h> | ||
47 | #include <linux/magic.h> | 39 | #include <linux/magic.h> |
48 | #include <linux/mount.h> | ||
49 | #include <linux/mempool.h> | ||
50 | #include <linux/writeback.h> | ||
51 | #include <linux/kthread.h> | ||
52 | #include <linux/freezer.h> | ||
53 | #include <linux/parser.h> | 40 | #include <linux/parser.h> |
54 | 41 | ||
55 | static const struct super_operations xfs_super_operations; | 42 | static const struct super_operations xfs_super_operations; |
diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c index b2c1177c717f..ed66fd2de327 100644 --- a/fs/xfs/xfs_symlink.c +++ b/fs/xfs/xfs_symlink.c | |||
@@ -12,23 +12,14 @@ | |||
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_bit.h" | 13 | #include "xfs_bit.h" |
14 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
15 | #include "xfs_da_format.h" | ||
16 | #include "xfs_da_btree.h" | ||
17 | #include "xfs_defer.h" | ||
18 | #include "xfs_dir2.h" | 15 | #include "xfs_dir2.h" |
19 | #include "xfs_inode.h" | 16 | #include "xfs_inode.h" |
20 | #include "xfs_ialloc.h" | ||
21 | #include "xfs_alloc.h" | ||
22 | #include "xfs_bmap.h" | 17 | #include "xfs_bmap.h" |
23 | #include "xfs_bmap_btree.h" | 18 | #include "xfs_bmap_btree.h" |
24 | #include "xfs_bmap_util.h" | ||
25 | #include "xfs_error.h" | ||
26 | #include "xfs_quota.h" | 19 | #include "xfs_quota.h" |
27 | #include "xfs_trans_space.h" | 20 | #include "xfs_trans_space.h" |
28 | #include "xfs_trace.h" | 21 | #include "xfs_trace.h" |
29 | #include "xfs_symlink.h" | ||
30 | #include "xfs_trans.h" | 22 | #include "xfs_trans.h" |
31 | #include "xfs_log.h" | ||
32 | 23 | ||
33 | /* ----- Kernel only functions below ----- */ | 24 | /* ----- Kernel only functions below ----- */ |
34 | int | 25 | int |
diff --git a/fs/xfs/xfs_sysctl.c b/fs/xfs/xfs_sysctl.c index 0cc034dfb786..31b3bdbd2eba 100644 --- a/fs/xfs/xfs_sysctl.c +++ b/fs/xfs/xfs_sysctl.c | |||
@@ -4,10 +4,7 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include <linux/sysctl.h> | ||
8 | #include <linux/proc_fs.h> | ||
9 | #include "xfs_error.h" | 7 | #include "xfs_error.h" |
10 | #include "xfs_stats.h" | ||
11 | 8 | ||
12 | static struct ctl_table_header *xfs_table_header; | 9 | static struct ctl_table_header *xfs_table_header; |
13 | 10 | ||
diff --git a/fs/xfs/xfs_sysfs.c b/fs/xfs/xfs_sysfs.c index cabda13f3c64..688366d42cd8 100644 --- a/fs/xfs/xfs_sysfs.c +++ b/fs/xfs/xfs_sysfs.c | |||
@@ -10,9 +10,7 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_sysfs.h" | 12 | #include "xfs_sysfs.h" |
13 | #include "xfs_log.h" | ||
14 | #include "xfs_log_priv.h" | 13 | #include "xfs_log_priv.h" |
15 | #include "xfs_stats.h" | ||
16 | #include "xfs_mount.h" | 14 | #include "xfs_mount.h" |
17 | 15 | ||
18 | struct xfs_sysfs_attr { | 16 | struct xfs_sysfs_attr { |
diff --git a/fs/xfs/xfs_trace.c b/fs/xfs/xfs_trace.c index cb6489c22cad..bc85b89f88ca 100644 --- a/fs/xfs/xfs_trace.c +++ b/fs/xfs/xfs_trace.c | |||
@@ -15,24 +15,16 @@ | |||
15 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
16 | #include "xfs_btree.h" | 16 | #include "xfs_btree.h" |
17 | #include "xfs_da_btree.h" | 17 | #include "xfs_da_btree.h" |
18 | #include "xfs_ialloc.h" | ||
19 | #include "xfs_itable.h" | ||
20 | #include "xfs_alloc.h" | 18 | #include "xfs_alloc.h" |
21 | #include "xfs_bmap.h" | 19 | #include "xfs_bmap.h" |
22 | #include "xfs_attr.h" | 20 | #include "xfs_attr.h" |
23 | #include "xfs_attr_leaf.h" | ||
24 | #include "xfs_trans.h" | 21 | #include "xfs_trans.h" |
25 | #include "xfs_log.h" | ||
26 | #include "xfs_log_priv.h" | 22 | #include "xfs_log_priv.h" |
27 | #include "xfs_buf_item.h" | 23 | #include "xfs_buf_item.h" |
28 | #include "xfs_quota.h" | 24 | #include "xfs_quota.h" |
29 | #include "xfs_iomap.h" | ||
30 | #include "xfs_aops.h" | ||
31 | #include "xfs_dquot_item.h" | 25 | #include "xfs_dquot_item.h" |
32 | #include "xfs_dquot.h" | 26 | #include "xfs_dquot.h" |
33 | #include "xfs_log_recover.h" | 27 | #include "xfs_log_recover.h" |
34 | #include "xfs_inode_item.h" | ||
35 | #include "xfs_bmap_btree.h" | ||
36 | #include "xfs_filestream.h" | 28 | #include "xfs_filestream.h" |
37 | #include "xfs_fsmap.h" | 29 | #include "xfs_fsmap.h" |
38 | 30 | ||
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index b026f87608ce..5b31e0b400f4 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
13 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
14 | #include "xfs_inode.h" | ||
15 | #include "xfs_extent_busy.h" | 14 | #include "xfs_extent_busy.h" |
16 | #include "xfs_quota.h" | 15 | #include "xfs_quota.h" |
17 | #include "xfs_trans.h" | 16 | #include "xfs_trans.h" |
diff --git a/fs/xfs/xfs_trans_buf.c b/fs/xfs/xfs_trans_buf.c index 0cdd8a314d85..b5b3a78ef31c 100644 --- a/fs/xfs/xfs_trans_buf.c +++ b/fs/xfs/xfs_trans_buf.c | |||
@@ -10,11 +10,9 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_inode.h" | ||
14 | #include "xfs_trans.h" | 13 | #include "xfs_trans.h" |
15 | #include "xfs_buf_item.h" | 14 | #include "xfs_buf_item.h" |
16 | #include "xfs_trans_priv.h" | 15 | #include "xfs_trans_priv.h" |
17 | #include "xfs_error.h" | ||
18 | #include "xfs_trace.h" | 16 | #include "xfs_trace.h" |
19 | 17 | ||
20 | /* | 18 | /* |
diff --git a/fs/xfs/xfs_trans_dquot.c b/fs/xfs/xfs_trans_dquot.c index ba3de1f03b98..1027c9ca6eb8 100644 --- a/fs/xfs/xfs_trans_dquot.c +++ b/fs/xfs/xfs_trans_dquot.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_inode.h" | 13 | #include "xfs_inode.h" |
14 | #include "xfs_error.h" | ||
15 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
16 | #include "xfs_trans_priv.h" | 15 | #include "xfs_trans_priv.h" |
17 | #include "xfs_quota.h" | 16 | #include "xfs_quota.h" |
diff --git a/fs/xfs/xfs_trans_inode.c b/fs/xfs/xfs_trans_inode.c index 542927321a61..93d14e47269d 100644 --- a/fs/xfs/xfs_trans_inode.c +++ b/fs/xfs/xfs_trans_inode.c | |||
@@ -8,13 +8,10 @@ | |||
8 | #include "xfs_shared.h" | 8 | #include "xfs_shared.h" |
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | ||
12 | #include "xfs_mount.h" | ||
13 | #include "xfs_inode.h" | 11 | #include "xfs_inode.h" |
14 | #include "xfs_trans.h" | 12 | #include "xfs_trans.h" |
15 | #include "xfs_trans_priv.h" | 13 | #include "xfs_trans_priv.h" |
16 | #include "xfs_inode_item.h" | 14 | #include "xfs_inode_item.h" |
17 | #include "xfs_trace.h" | ||
18 | 15 | ||
19 | #include <linux/iversion.h> | 16 | #include <linux/iversion.h> |
20 | 17 | ||
diff --git a/fs/xfs/xfs_xattr.c b/fs/xfs/xfs_xattr.c index 3bf275fd7487..3123b5aaad2a 100644 --- a/fs/xfs/xfs_xattr.c +++ b/fs/xfs/xfs_xattr.c | |||
@@ -8,13 +8,9 @@ | |||
8 | #include "xfs_shared.h" | 8 | #include "xfs_shared.h" |
9 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | ||
12 | #include "xfs_mount.h" | ||
13 | #include "xfs_da_format.h" | 11 | #include "xfs_da_format.h" |
14 | #include "xfs_inode.h" | 12 | #include "xfs_inode.h" |
15 | #include "xfs_attr.h" | 13 | #include "xfs_attr.h" |
16 | #include "xfs_attr_leaf.h" | ||
17 | #include "xfs_acl.h" | ||
18 | 14 | ||
19 | #include <linux/posix_acl_xattr.h> | 15 | #include <linux/posix_acl_xattr.h> |
20 | #include <linux/xattr.h> | 16 | #include <linux/xattr.h> |