diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-05-27 16:38:26 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-05-30 17:19:45 -0500 |
commit | e7927e879d12d27aa06b9bbed57cc32dcd7d17fd (patch) | |
tree | c12b05d91c9cfc293f112757859f14f60d0c8733 /fs/xfs/xfs_fs.h | |
parent | 1de09d1ae48152e56399aba0bfd984fb0ddae6b0 (diff) | |
download | talos-obmc-linux-e7927e879d12d27aa06b9bbed57cc32dcd7d17fd.tar.gz talos-obmc-linux-e7927e879d12d27aa06b9bbed57cc32dcd7d17fd.zip |
xfs: add fsgeom flag for v5 superblock support.
Currently userspace has no way of determining that a filesystem is
CRC enabled. Add a flag to the XFS_IOC_FSGEOMETRY ioctl output to
indicate that the filesystem has v5 superblock support enabled.
This will allow xfs_info to correctly report the state of the
filesystem.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
(cherry picked from commit 74137fff067961c9aca1e14d073805c3de8549bd)
Diffstat (limited to 'fs/xfs/xfs_fs.h')
-rw-r--r-- | fs/xfs/xfs_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_fs.h b/fs/xfs/xfs_fs.h index 6dda3f949b04..d04695545397 100644 --- a/fs/xfs/xfs_fs.h +++ b/fs/xfs/xfs_fs.h @@ -236,6 +236,7 @@ typedef struct xfs_fsop_resblks { #define XFS_FSOP_GEOM_FLAGS_PROJID32 0x0800 /* 32-bit project IDs */ #define XFS_FSOP_GEOM_FLAGS_DIRV2CI 0x1000 /* ASCII only CI names */ #define XFS_FSOP_GEOM_FLAGS_LAZYSB 0x4000 /* lazy superblock counters */ +#define XFS_FSOP_GEOM_FLAGS_V5SB 0x8000 /* version 5 superblock */ /* |