diff options
| author | Darrick J. Wong <[email protected]> | 2024-11-21 00:20:30 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-12-23 21:06:06 +0000 |
| commit | 71b8acb42be60e11810eb43a6f470589fcf7b7dd (patch) | |
| tree | 989ad8c19b2f788ac1ee19f7e1cf41793e88dbfa /fs/xfs/libxfs/xfs_rtrmap_btree.h | |
| parent | xfs: wire up rmap map and unmap to the realtime rmapbt (diff) | |
| download | kernel-71b8acb42be60e11810eb43a6f470589fcf7b7dd.tar.gz kernel-71b8acb42be60e11810eb43a6f470589fcf7b7dd.zip | |
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" <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_rtrmap_btree.h')
| -rw-r--r-- | fs/xfs/libxfs/xfs_rtrmap_btree.h | 5 |
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 e97695066920..bf73460be274 100644 --- a/fs/xfs/libxfs/xfs_rtrmap_btree.h +++ b/fs/xfs/libxfs/xfs_rtrmap_btree.h @@ -193,4 +193,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); +int xfs_rtrmapbt_create(struct xfs_rtgroup *rtg, struct xfs_inode *ip, + struct xfs_trans *tp, bool init); +int xfs_rtrmapbt_init_rtsb(struct xfs_mount *mp, struct xfs_rtgroup *rtg, + struct xfs_trans *tp); + #endif /* __XFS_RTRMAP_BTREE_H__ */ |
