[PATCH 07/28] xfs: add fs geometry bit for sparse inode chunks

Brian Foster
2015-06-02T18:42:06Z

Define an fs geometry bit for sparse inode chunks such that the
characteristic of the fs can be identified by userspace.

Signed-off-by: Brian Foster <bfoster@redhat.com>
---
libxfs/xfs_fs.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h
index 18dc721..89689c6 100644
--- a/libxfs/xfs_fs.h
+++ b/libxfs/xfs_fs.h
@@ -239,6 +239,7 @@ typedef struct xfs_fsop_resblks {
#define XFS_FSOP_GEOM_FLAGS_V5SB 0x8000 /* version 5 superblock */
#define XFS_FSOP_GEOM_FLAGS_FTYPE 0x10000 /* inode directory types */
#define XFS_FSOP_GEOM_FLAGS_FINOBT 0x20000 /* free inode btree */
+#define XFS_FSOP_GEOM_FLAGS_SPINODES 0x40000 /* sparse inode chunks */

/*
* Minimum and maximum sizes need for growth checks.