]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: define a flags field for the AG geometry ioctl structure
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 13 Dec 2019 00:54:33 +0000 (19:54 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 13 Dec 2019 00:54:33 +0000 (19:54 -0500)
Source kernel commit: 76f1793359db07205b9aefba66c7acbac988aaac

Define a flags field for the AG geometry ioctl structure.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_fs.h

index 31ac63233848da5aec7059f9777d776958aa1ee5..00c2cc760a5951098ba5ee4e24965ec0d1a0c7f9 100644 (file)
@@ -308,7 +308,7 @@ struct xfs_ag_geometry {
        uint32_t        ag_ifree;       /* o: inodes free */
        uint32_t        ag_sick;        /* o: sick things in ag */
        uint32_t        ag_checked;     /* o: checked metadata in ag */
-       uint32_t        ag_reserved32;  /* o: zero */
+       uint32_t        ag_flags;       /* i/o: flags for this ag */
        uint64_t        ag_reserved[12];/* o: zero */
 };
 #define XFS_AG_GEOM_SICK_SB    (1 << 0)  /* superblock */