diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-16 11:00:07 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-19 14:11:34 -0700 |
commit | 2678809799e6e37db0800725157f5ebfc03a9df7 (patch) | |
tree | 06f41cd541a569789084788250bc83078e11f707 /fs/xfs/libxfs/xfs_rmap.h | |
parent | 38dee376d67047e9877a34e408013852c9729eb8 (diff) | |
download | op-kernel-dev-2678809799e6e37db0800725157f5ebfc03a9df7.zip op-kernel-dev-2678809799e6e37db0800725157f5ebfc03a9df7.tar.gz |
xfs: export various function for the online scrubber
Export various internal functions so that the online scrubber can use
them to check the state of metadata.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_rmap.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_rmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_rmap.h b/fs/xfs/libxfs/xfs_rmap.h index 265116d..466ede6 100644 --- a/fs/xfs/libxfs/xfs_rmap.h +++ b/fs/xfs/libxfs/xfs_rmap.h @@ -216,5 +216,8 @@ int xfs_rmap_lookup_le_range(struct xfs_btree_cur *cur, xfs_agblock_t bno, struct xfs_rmap_irec *irec, int *stat); int xfs_rmap_compare(const struct xfs_rmap_irec *a, const struct xfs_rmap_irec *b); +union xfs_btree_rec; +int xfs_rmap_btrec_to_irec(union xfs_btree_rec *rec, + struct xfs_rmap_irec *irec); #endif /* __XFS_RMAP_H__ */ |