diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-28 22:25:35 -0400 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-28 22:25:35 -0400 |
commit | 5467b34bd1e81c8e719ae968ba6561723fdc15b8 (patch) | |
tree | cf5384a1ed363efa9bbbcbd3e2800c1e3602b278 /fs/xfs | |
parent | 6dba88870c2315b77713291189015b56d63e60fe (diff) |
xfs: move xfs_ino_geometry to xfs_shared.h
The inode geometry structure isn't related to ondisk format; it's
support for the mount structure. Move it to xfs_shared.h.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs')
31 files changed, 71 insertions, 41 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2.c b/fs/xfs/libxfs/xfs_dir2.c index 156ce95c9c45..b25f75032baa 100644 --- a/fs/xfs/libxfs/xfs_dir2.c +++ b/fs/xfs/libxfs/xfs_dir2.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
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_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/libxfs/xfs_dir2_block.c b/fs/xfs/libxfs/xfs_dir2_block.c index b7d6d78f4ce2..c73183373dd1 100644 --- a/fs/xfs/libxfs/xfs_dir2_block.c +++ b/fs/xfs/libxfs/xfs_dir2_block.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
9 | #include "xfs_shared.h" | ||
9 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/libxfs/xfs_dir2_data.c b/fs/xfs/libxfs/xfs_dir2_data.c index b7b9ce002cb9..efbb009d3d65 100644 --- a/fs/xfs/libxfs/xfs_dir2_data.c +++ b/fs/xfs/libxfs/xfs_dir2_data.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
9 | #include "xfs_shared.h" | ||
9 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/libxfs/xfs_dir2_leaf.c b/fs/xfs/libxfs/xfs_dir2_leaf.c index 9c2a0a13ed61..ce75313d7ed6 100644 --- a/fs/xfs/libxfs/xfs_dir2_leaf.c +++ b/fs/xfs/libxfs/xfs_dir2_leaf.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
9 | #include "xfs_shared.h" | ||
9 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/libxfs/xfs_dir2_node.c b/fs/xfs/libxfs/xfs_dir2_node.c index 16731d2d684b..0a8fa453a7c6 100644 --- a/fs/xfs/libxfs/xfs_dir2_node.c +++ b/fs/xfs/libxfs/xfs_dir2_node.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
9 | #include "xfs_shared.h" | ||
9 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/libxfs/xfs_dir2_sf.c b/fs/xfs/libxfs/xfs_dir2_sf.c index 585dfdb7b6b6..57911731c516 100644 --- a/fs/xfs/libxfs/xfs_dir2_sf.c +++ b/fs/xfs/libxfs/xfs_dir2_sf.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
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_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index 5729474e362f..c968b60cee15 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h | |||
@@ -1694,45 +1694,4 @@ struct xfs_acl { | |||
1694 | #define SGI_ACL_FILE_SIZE (sizeof(SGI_ACL_FILE)-1) | 1694 | #define SGI_ACL_FILE_SIZE (sizeof(SGI_ACL_FILE)-1) |
1695 | #define SGI_ACL_DEFAULT_SIZE (sizeof(SGI_ACL_DEFAULT)-1) | 1695 | #define SGI_ACL_DEFAULT_SIZE (sizeof(SGI_ACL_DEFAULT)-1) |
1696 | 1696 | ||
1697 | struct xfs_ino_geometry { | ||
1698 | /* Maximum inode count in this filesystem. */ | ||
1699 | uint64_t maxicount; | ||
1700 | |||
1701 | /* Actual inode cluster buffer size, in bytes. */ | ||
1702 | unsigned int inode_cluster_size; | ||
1703 | |||
1704 | /* | ||
1705 | * Desired inode cluster buffer size, in bytes. This value is not | ||
1706 | * rounded up to at least one filesystem block, which is necessary for | ||
1707 | * the sole purpose of validating sb_spino_align. Runtime code must | ||
1708 | * only ever use inode_cluster_size. | ||
1709 | */ | ||
1710 | unsigned int inode_cluster_size_raw; | ||
1711 | |||
1712 | /* Inode cluster sizes, adjusted to be at least 1 fsb. */ | ||
1713 | unsigned int inodes_per_cluster; | ||
1714 | unsigned int blocks_per_cluster; | ||
1715 | |||
1716 | /* Inode cluster alignment. */ | ||
1717 | unsigned int cluster_align; | ||
1718 | unsigned int cluster_align_inodes; | ||
1719 | unsigned int inoalign_mask; /* mask sb_inoalignmt if used */ | ||
1720 | |||
1721 | unsigned int inobt_mxr[2]; /* max inobt btree records */ | ||
1722 | unsigned int inobt_mnr[2]; /* min inobt btree records */ | ||
1723 | unsigned int inobt_maxlevels; /* max inobt btree levels. */ | ||
1724 | |||
1725 | /* Size of inode allocations under normal operation. */ | ||
1726 | unsigned int ialloc_inos; | ||
1727 | unsigned int ialloc_blks; | ||
1728 | |||
1729 | /* Minimum inode blocks for a sparse allocation. */ | ||
1730 | unsigned int ialloc_min_blks; | ||
1731 | |||
1732 | /* stripe unit inode alignment */ | ||
1733 | unsigned int ialloc_align; | ||
1734 | |||
1735 | unsigned int agino_log; /* #bits for agino in inum */ | ||
1736 | }; | ||
1737 | |||
1738 | #endif /* __XFS_FORMAT_H__ */ | 1697 | #endif /* __XFS_FORMAT_H__ */ |
diff --git a/fs/xfs/libxfs/xfs_iext_tree.c b/fs/xfs/libxfs/xfs_iext_tree.c index bc690f2409fa..a2beca47eead 100644 --- a/fs/xfs/libxfs/xfs_iext_tree.c +++ b/fs/xfs/libxfs/xfs_iext_tree.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
8 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
9 | #include "xfs.h" | 9 | #include "xfs.h" |
10 | #include "xfs_shared.h" | ||
10 | #include "xfs_format.h" | 11 | #include "xfs_format.h" |
11 | #include "xfs_bit.h" | 12 | #include "xfs_bit.h" |
12 | #include "xfs_log_format.h" | 13 | #include "xfs_log_format.h" |
diff --git a/fs/xfs/libxfs/xfs_inode_fork.c b/fs/xfs/libxfs/xfs_inode_fork.c index f9acf1d436f6..642ef9ed5f57 100644 --- a/fs/xfs/libxfs/xfs_inode_fork.c +++ b/fs/xfs/libxfs/xfs_inode_fork.c | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | #include "xfs.h" | 8 | #include "xfs.h" |
9 | #include "xfs_fs.h" | 9 | #include "xfs_fs.h" |
10 | #include "xfs_shared.h" | ||
10 | #include "xfs_format.h" | 11 | #include "xfs_format.h" |
11 | #include "xfs_log_format.h" | 12 | #include "xfs_log_format.h" |
12 | #include "xfs_trans_resv.h" | 13 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/libxfs/xfs_shared.h b/fs/xfs/libxfs/xfs_shared.h index 4e909791aeac..b9094709bc79 100644 --- a/fs/xfs/libxfs/xfs_shared.h +++ b/fs/xfs/libxfs/xfs_shared.h | |||
@@ -136,4 +136,46 @@ void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp, | |||
136 | struct xfs_inode *ip, struct xfs_ifork *ifp); | 136 | struct xfs_inode *ip, struct xfs_ifork *ifp); |
137 | xfs_failaddr_t xfs_symlink_shortform_verify(struct xfs_inode *ip); | 137 | xfs_failaddr_t xfs_symlink_shortform_verify(struct xfs_inode *ip); |
138 | 138 | ||
139 | /* Computed inode geometry for the filesystem. */ | ||
140 | struct xfs_ino_geometry { | ||
141 | /* Maximum inode count in this filesystem. */ | ||
142 | uint64_t maxicount; | ||
143 | |||
144 | /* Actual inode cluster buffer size, in bytes. */ | ||
145 | unsigned int inode_cluster_size; | ||
146 | |||
147 | /* | ||
148 | * Desired inode cluster buffer size, in bytes. This value is not | ||
149 | * rounded up to at least one filesystem block, which is necessary for | ||
150 | * the sole purpose of validating sb_spino_align. Runtime code must | ||
151 | * only ever use inode_cluster_size. | ||
152 | */ | ||
153 | unsigned int inode_cluster_size_raw; | ||
154 | |||
155 | /* Inode cluster sizes, adjusted to be at least 1 fsb. */ | ||
156 | unsigned int inodes_per_cluster; | ||
157 | unsigned int blocks_per_cluster; | ||
158 | |||
159 | /* Inode cluster alignment. */ | ||
160 | unsigned int cluster_align; | ||
161 | unsigned int cluster_align_inodes; | ||
162 | unsigned int inoalign_mask; /* mask sb_inoalignmt if used */ | ||
163 | |||
164 | unsigned int inobt_mxr[2]; /* max inobt btree records */ | ||
165 | unsigned int inobt_mnr[2]; /* min inobt btree records */ | ||
166 | unsigned int inobt_maxlevels; /* max inobt btree levels. */ | ||
167 | |||
168 | /* Size of inode allocations under normal operation. */ | ||
169 | unsigned int ialloc_inos; | ||
170 | unsigned int ialloc_blks; | ||
171 | |||
172 | /* Minimum inode blocks for a sparse allocation. */ | ||
173 | unsigned int ialloc_min_blks; | ||
174 | |||
175 | /* stripe unit inode alignment */ | ||
176 | unsigned int ialloc_align; | ||
177 | |||
178 | unsigned int agino_log; /* #bits for agino in inum */ | ||
179 | }; | ||
180 | |||
139 | #endif /* __XFS_SHARED_H__ */ | 181 | #endif /* __XFS_SHARED_H__ */ |
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c index 8039e35147dd..f6af069d4270 100644 --- a/fs/xfs/xfs_acl.c +++ b/fs/xfs/xfs_acl.c | |||
@@ -4,6 +4,7 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_shared.h" | ||
7 | #include "xfs_format.h" | 8 | #include "xfs_format.h" |
8 | #include "xfs_log_format.h" | 9 | #include "xfs_log_format.h" |
9 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_attr_list.c b/fs/xfs/xfs_attr_list.c index 3d213a7394c5..7ffee91a9fdb 100644 --- a/fs/xfs/xfs_attr_list.c +++ b/fs/xfs/xfs_attr_list.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
9 | #include "xfs_shared.h" | ||
9 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_bmap_item.c b/fs/xfs/xfs_bmap_item.c index ce45f066995e..c403cc85e350 100644 --- a/fs/xfs/xfs_bmap_item.c +++ b/fs/xfs/xfs_bmap_item.c | |||
@@ -9,6 +9,7 @@ | |||
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_bit.h" | 11 | #include "xfs_bit.h" |
12 | #include "xfs_shared.h" | ||
12 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
13 | #include "xfs_defer.h" | 14 | #include "xfs_defer.h" |
14 | #include "xfs_inode.h" | 15 | #include "xfs_inode.h" |
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index be8afa1673c7..e860114e8c9b 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/backing-dev.h> | 22 | #include <linux/backing-dev.h> |
23 | #include <linux/freezer.h> | 23 | #include <linux/freezer.h> |
24 | 24 | ||
25 | #include "xfs_shared.h" | ||
25 | #include "xfs_format.h" | 26 | #include "xfs_format.h" |
26 | #include "xfs_log_format.h" | 27 | #include "xfs_log_format.h" |
27 | #include "xfs_trans_resv.h" | 28 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index 65b32acfa0f6..3823f3f5bde9 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
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_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_dir2_readdir.c b/fs/xfs/xfs_dir2_readdir.c index 5142e64e2345..ea7b9d35d30b 100644 --- a/fs/xfs/xfs_dir2_readdir.c +++ b/fs/xfs/xfs_dir2_readdir.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
9 | #include "xfs_shared.h" | ||
9 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_discard.c b/fs/xfs/xfs_discard.c index d0df0ed50f4b..4f5460be4357 100644 --- a/fs/xfs/xfs_discard.c +++ b/fs/xfs/xfs_discard.c | |||
@@ -4,6 +4,7 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_shared.h" | ||
7 | #include "xfs_format.h" | 8 | #include "xfs_format.h" |
8 | #include "xfs_log_format.h" | 9 | #include "xfs_log_format.h" |
9 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_dquot_item.c b/fs/xfs/xfs_dquot_item.c index 87b23ae44397..cd7142df596c 100644 --- a/fs/xfs/xfs_dquot_item.c +++ b/fs/xfs/xfs_dquot_item.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
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_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c index a1e177f66404..7cc799b67232 100644 --- a/fs/xfs/xfs_error.c +++ b/fs/xfs/xfs_error.c | |||
@@ -4,6 +4,7 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_shared.h" | ||
7 | #include "xfs_format.h" | 8 | #include "xfs_format.h" |
8 | #include "xfs_fs.h" | 9 | #include "xfs_fs.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
diff --git a/fs/xfs/xfs_export.c b/fs/xfs/xfs_export.c index f2284ceb129f..e179bea0474d 100644 --- a/fs/xfs/xfs_export.c +++ b/fs/xfs/xfs_export.c | |||
@@ -4,6 +4,7 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_shared.h" | ||
7 | #include "xfs_format.h" | 8 | #include "xfs_format.h" |
8 | #include "xfs_log_format.h" | 9 | #include "xfs_log_format.h" |
9 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c index 74ddf66f4cfe..3308251b0d58 100644 --- a/fs/xfs/xfs_extfree_item.c +++ b/fs/xfs/xfs_extfree_item.c | |||
@@ -9,6 +9,7 @@ | |||
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_bit.h" | 11 | #include "xfs_bit.h" |
12 | #include "xfs_shared.h" | ||
12 | #include "xfs_mount.h" | 13 | #include "xfs_mount.h" |
13 | #include "xfs_trans.h" | 14 | #include "xfs_trans.h" |
14 | #include "xfs_trans_priv.h" | 15 | #include "xfs_trans_priv.h" |
diff --git a/fs/xfs/xfs_filestream.c b/fs/xfs/xfs_filestream.c index 182501373af2..b1869aebb263 100644 --- a/fs/xfs/xfs_filestream.c +++ b/fs/xfs/xfs_filestream.c | |||
@@ -5,6 +5,7 @@ | |||
5 | * All Rights Reserved. | 5 | * All Rights Reserved. |
6 | */ | 6 | */ |
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_shared.h" | ||
8 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index a76b27565a18..336501694443 100644 --- a/fs/xfs/xfs_icache.c +++ b/fs/xfs/xfs_icache.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
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_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c index fa1c4fe2ffbf..957f3dca0d7a 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
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_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_ioctl32.c b/fs/xfs/xfs_ioctl32.c index 614fc6886d24..0f20385ec3c6 100644 --- a/fs/xfs/xfs_ioctl32.c +++ b/fs/xfs/xfs_ioctl32.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/fsmap.h> | 11 | #include <linux/fsmap.h> |
12 | #include "xfs.h" | 12 | #include "xfs.h" |
13 | #include "xfs_fs.h" | 13 | #include "xfs_fs.h" |
14 | #include "xfs_shared.h" | ||
14 | #include "xfs_format.h" | 15 | #include "xfs_format.h" |
15 | #include "xfs_log_format.h" | 16 | #include "xfs_log_format.h" |
16 | #include "xfs_trans_resv.h" | 17 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_message.c b/fs/xfs/xfs_message.c index 6b736ea58d35..6cb1f2468dd0 100644 --- a/fs/xfs/xfs_message.c +++ b/fs/xfs/xfs_message.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_fs.h" | 7 | #include "xfs_fs.h" |
8 | #include "xfs_error.h" | 8 | #include "xfs_error.h" |
9 | #include "xfs_shared.h" | ||
9 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_pnfs.c b/fs/xfs/xfs_pnfs.c index bde2c9f56a46..2d95355a8a0a 100644 --- a/fs/xfs/xfs_pnfs.c +++ b/fs/xfs/xfs_pnfs.c | |||
@@ -4,6 +4,7 @@ | |||
4 | */ | 4 | */ |
5 | #include <linux/iomap.h> | 5 | #include <linux/iomap.h> |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_shared.h" | ||
7 | #include "xfs_format.h" | 8 | #include "xfs_format.h" |
8 | #include "xfs_log_format.h" | 9 | #include "xfs_log_format.h" |
9 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_qm_bhv.c b/fs/xfs/xfs_qm_bhv.c index 3091e4bc04ef..8f03478dabea 100644 --- a/fs/xfs/xfs_qm_bhv.c +++ b/fs/xfs/xfs_qm_bhv.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
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_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_quotaops.c b/fs/xfs/xfs_quotaops.c index a7c0c657dfaf..d453c2c32e04 100644 --- a/fs/xfs/xfs_quotaops.c +++ b/fs/xfs/xfs_quotaops.c | |||
@@ -4,6 +4,7 @@ | |||
4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
5 | */ | 5 | */ |
6 | #include "xfs.h" | 6 | #include "xfs.h" |
7 | #include "xfs_shared.h" | ||
7 | #include "xfs_format.h" | 8 | #include "xfs_format.h" |
8 | #include "xfs_log_format.h" | 9 | #include "xfs_log_format.h" |
9 | #include "xfs_trans_resv.h" | 10 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index d3a4e89bf4a0..58013696778d 100644 --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_fs.h" | 8 | #include "xfs_fs.h" |
9 | #include "xfs_shared.h" | ||
9 | #include "xfs_format.h" | 10 | #include "xfs_format.h" |
10 | #include "xfs_log_format.h" | 11 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 12 | #include "xfs_trans_resv.h" |
diff --git a/fs/xfs/xfs_xattr.c b/fs/xfs/xfs_xattr.c index 9a63016009a1..3bf275fd7487 100644 --- a/fs/xfs/xfs_xattr.c +++ b/fs/xfs/xfs_xattr.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include "xfs.h" | 7 | #include "xfs.h" |
8 | #include "xfs_shared.h" | ||
8 | #include "xfs_format.h" | 9 | #include "xfs_format.h" |
9 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
10 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |