| .. | .. |
|---|
| 9 | 9 | struct xfs_buf; |
|---|
| 10 | 10 | struct xfs_btree_cur; |
|---|
| 11 | 11 | struct xfs_mount; |
|---|
| 12 | +struct xbtree_afakeroot; |
|---|
| 12 | 13 | |
|---|
| 13 | 14 | /* rmaps only exist on crc enabled filesystems */ |
|---|
| 14 | 15 | #define XFS_RMAP_BLOCK_LEN XFS_BTREE_SBLOCK_CRC_LEN |
|---|
| .. | .. |
|---|
| 43 | 44 | struct xfs_btree_cur *xfs_rmapbt_init_cursor(struct xfs_mount *mp, |
|---|
| 44 | 45 | struct xfs_trans *tp, struct xfs_buf *bp, |
|---|
| 45 | 46 | xfs_agnumber_t agno); |
|---|
| 47 | +struct xfs_btree_cur *xfs_rmapbt_stage_cursor(struct xfs_mount *mp, |
|---|
| 48 | + struct xbtree_afakeroot *afake, xfs_agnumber_t agno); |
|---|
| 49 | +void xfs_rmapbt_commit_staged_btree(struct xfs_btree_cur *cur, |
|---|
| 50 | + struct xfs_trans *tp, struct xfs_buf *agbp); |
|---|
| 46 | 51 | int xfs_rmapbt_maxrecs(int blocklen, int leaf); |
|---|
| 47 | 52 | extern void xfs_rmapbt_compute_maxlevels(struct xfs_mount *mp); |
|---|
| 48 | 53 | |
|---|