]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: add fs geometry bit for sparse inode chunks
authorBrian Foster <bfoster@redhat.com>
Thu, 28 May 2015 22:58:32 +0000 (08:58 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 30 Jul 2015 23:06:07 +0000 (09:06 +1000)
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_fs.h

index 18dc721ca19f85f7436ab7c3241e28506521abee..89689c6a43e2cf6a0f042f2abaa9dcd0da5a0873 100644 (file)
@@ -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.