xfs: add fsgeom flag for v5 superblock support.
authorDave Chinner <dchinner@redhat.com>
Mon, 27 May 2013 06:38:26 +0000 (16:38 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 30 May 2013 17:57:25 +0000 (12:57 -0500)
commit74137fff067961c9aca1e14d073805c3de8549bd
treed7bfc0608755927b842e9d35d42c02d1b628a9df
parent02f75405a75eadfb072609f6bf839e027de6a29a
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>
fs/xfs/xfs_fs.h
fs/xfs/xfs_fsops.c