]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: scrub quota information
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
Source kernel commit: c2fc338c87a31f557b57f5143602444ba3cf2c3e

Perform some quick sanity testing of the disk quota information.

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 115ae4b098bbe857e9e24157042c85d985c04fbc..489f0f5721fdefe096ec48d8a56550b46b771160 100644 (file)
@@ -525,9 +525,12 @@ struct xfs_scrub_metadata {
 #define XFS_SCRUB_TYPE_PARENT  18      /* parent pointers */
 #define XFS_SCRUB_TYPE_RTBITMAP        19      /* realtime bitmap */
 #define XFS_SCRUB_TYPE_RTSUM   20      /* realtime summary */
+#define XFS_SCRUB_TYPE_UQUOTA  21      /* user quotas */
+#define XFS_SCRUB_TYPE_GQUOTA  22      /* group quotas */
+#define XFS_SCRUB_TYPE_PQUOTA  23      /* project quotas */
 
 /* Number of scrub subcommands. */
-#define XFS_SCRUB_TYPE_NR      21
+#define XFS_SCRUB_TYPE_NR      24
 
 /* i: Repair this metadata. */
 #define XFS_SCRUB_IFLAG_REPAIR         (1 << 0)