]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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 22:19:45 +0000 (17:19 -0500)
commite7927e879d12d27aa06b9bbed57cc32dcd7d17fd
treec12b05d91c9cfc293f112757859f14f60d0c8733
parent1de09d1ae48152e56399aba0bfd984fb0ddae6b0
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)
fs/xfs/xfs_fs.h
fs/xfs/xfs_fsops.c