diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-17 21:37:47 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-26 15:38:26 -0700 |
commit | c2fc338c87a31f557b57f5143602444ba3cf2c3e (patch) | |
tree | 566d7b80f029b42e74a2737e4fad7f7577109dc6 /fs/xfs/scrub/scrub.c | |
parent | 29b0767b8beb4c5e3fd94656d51413a4fe8d2d74 (diff) | |
download | linux-c2fc338c87a31f557b57f5143602444ba3cf2c3e.tar.bz2 |
xfs: scrub quota information
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>
Diffstat (limited to 'fs/xfs/scrub/scrub.c')
-rw-r--r-- | fs/xfs/scrub/scrub.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index 7fd5e926e99c..8c8b52523fbc 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -257,6 +257,18 @@ static const struct xfs_scrub_meta_ops meta_scrub_ops[] = { .scrub = xfs_scrub_rtsummary, .has = xfs_sb_version_hasrealtime, }, + { /* user quota */ + .setup = xfs_scrub_setup_quota, + .scrub = xfs_scrub_quota, + }, + { /* group quota */ + .setup = xfs_scrub_setup_quota, + .scrub = xfs_scrub_quota, + }, + { /* project quota */ + .setup = xfs_scrub_setup_quota, + .scrub = xfs_scrub_quota, + }, }; /* This isn't a stable feature, warn once per day. */ |