]> git.baikalelectronics.ru Git - 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)
commit87913a728c2d0fa192451c02cf09478a1e683a3b
treec12b05d91c9cfc293f112757859f14f60d0c8733
parent149504f90f517620945785ddc47327d6f0bba1fb
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