summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_rtrmap_btree.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 11:16:52 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:41:02 -0700
commitab10cdfbd087ac88305069a3f30534c4bf565fda (patch)
tree951ab2d273e5ada8b99588c40d4a5cc2aac120f0 /fs/xfs/libxfs/xfs_rtrmap_btree.h
parent4a180c6e2d18b683b35fa9c4f2612263760b9567 (diff)
xfs: create routine to allocate and initialize a realtime rmap btree inode
Create a library routine to allocate and initialize an empty realtime rmapbt inode. We'll use this for mkfs and repair. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_rtrmap_btree.h')
-rw-r--r--fs/xfs/libxfs/xfs_rtrmap_btree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_rtrmap_btree.h b/fs/xfs/libxfs/xfs_rtrmap_btree.h
index 6cb4e883743f..d1ae7bc1d7e8 100644
--- a/fs/xfs/libxfs/xfs_rtrmap_btree.h
+++ b/fs/xfs/libxfs/xfs_rtrmap_btree.h
@@ -188,4 +188,9 @@ void xfs_rtrmapbt_to_disk(struct xfs_mount *mp, struct xfs_btree_block *rblock,
unsigned int dblocklen);
void xfs_iflush_rtrmap(struct xfs_inode *ip, struct xfs_dinode *dip);
+struct xfs_imeta_end;
+
+int xfs_rtrmapbt_create(struct xfs_trans **tpp, struct xfs_imeta_end *ic,
+ struct xfs_inode **ipp);
+
#endif /* __XFS_RTRMAP_BTREE_H__ */