diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-16 18:53:07 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-17 21:00:45 -0800 |
commit | 2e6f27561b798710fd7c89118d8b489231408a80 (patch) | |
tree | 9ad1313619268d9a02cba71e6e93c85d88e46a8a /fs/xfs/scrub/rmap.c | |
parent | e1134b12fd79a768ef386e0c42a6f028953f58eb (diff) | |
download | linux-2e6f27561b798710fd7c89118d8b489231408a80.tar.bz2 |
xfs: cross-reference inode btrees during scrub
Cross-reference the inode btrees with the other metadata when we
scrub the filesystem.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/rmap.c')
-rw-r--r-- | fs/xfs/scrub/rmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/scrub/rmap.c b/fs/xfs/scrub/rmap.c index 54b0eac22707..6e937ef14218 100644 --- a/fs/xfs/scrub/rmap.c +++ b/fs/xfs/scrub/rmap.c @@ -64,6 +64,10 @@ xfs_scrub_rmapbt_xref( return; xfs_scrub_xref_is_used_space(sc, agbno, len); + if (irec->rm_owner == XFS_RMAP_OWN_INODES) + xfs_scrub_xref_is_inode_chunk(sc, agbno, len); + else + xfs_scrub_xref_is_not_inode_chunk(sc, agbno, len); } /* Scrub an rmapbt record. */ |