summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_format.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-06-28 19:25:35 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-06-28 19:25:35 -0700
commit5467b34bd1e81c8e719ae968ba6561723fdc15b8 (patch)
treecf5384a1ed363efa9bbbcbd3e2800c1e3602b278 /fs/xfs/libxfs/xfs_format.h
parent6dba88870c2315b77713291189015b56d63e60fe (diff)
downloadlinux-5467b34bd1e81c8e719ae968ba6561723fdc15b8.tar.bz2
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/libxfs/xfs_format.h')
-rw-r--r--fs/xfs/libxfs/xfs_format.h41
1 files changed, 0 insertions, 41 deletions
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 {
#define SGI_ACL_FILE_SIZE (sizeof(SGI_ACL_FILE)-1)
#define SGI_ACL_DEFAULT_SIZE (sizeof(SGI_ACL_DEFAULT)-1)
-struct xfs_ino_geometry {
- /* Maximum inode count in this filesystem. */
- uint64_t maxicount;
-
- /* Actual inode cluster buffer size, in bytes. */
- unsigned int inode_cluster_size;
-
- /*
- * Desired inode cluster buffer size, in bytes. This value is not
- * rounded up to at least one filesystem block, which is necessary for
- * the sole purpose of validating sb_spino_align. Runtime code must
- * only ever use inode_cluster_size.
- */
- unsigned int inode_cluster_size_raw;
-
- /* Inode cluster sizes, adjusted to be at least 1 fsb. */
- unsigned int inodes_per_cluster;
- unsigned int blocks_per_cluster;
-
- /* Inode cluster alignment. */
- unsigned int cluster_align;
- unsigned int cluster_align_inodes;
- unsigned int inoalign_mask; /* mask sb_inoalignmt if used */
-
- unsigned int inobt_mxr[2]; /* max inobt btree records */
- unsigned int inobt_mnr[2]; /* min inobt btree records */
- unsigned int inobt_maxlevels; /* max inobt btree levels. */
-
- /* Size of inode allocations under normal operation. */
- unsigned int ialloc_inos;
- unsigned int ialloc_blks;
-
- /* Minimum inode blocks for a sparse allocation. */
- unsigned int ialloc_min_blks;
-
- /* stripe unit inode alignment */
- unsigned int ialloc_align;
-
- unsigned int agino_log; /* #bits for agino in inum */
-};
-
#endif /* __XFS_FORMAT_H__ */