diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-17 21:37:44 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-26 15:38:25 -0700 |
commit | a5c46e5e8912d232b959faf511cd9a17cc829f0a (patch) | |
tree | cfb855ef552faf04cf53f76c93d500d217ea3ac3 /fs/xfs/scrub/scrub.c | |
parent | 7c4a07a424c18d95f49b0c0c3d8c5afd969e0a10 (diff) | |
download | linux-a5c46e5e8912d232b959faf511cd9a17cc829f0a.tar.bz2 |
xfs: scrub directory metadata
Scrub the hash tree and all the entries in a directory.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index cb669197b395..68daedf21918 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -227,6 +227,10 @@ static const struct xfs_scrub_meta_ops meta_scrub_ops[] = { .setup = xfs_scrub_setup_inode_bmap, .scrub = xfs_scrub_bmap_cow, }, + { /* directory */ + .setup = xfs_scrub_setup_directory, + .scrub = xfs_scrub_directory, + }, }; /* This isn't a stable feature, warn once per day. */ |