.. | .. |
---|
13 | 13 | struct xfs_buf; |
---|
14 | 14 | struct xfs_btree_cur; |
---|
15 | 15 | struct xfs_mount; |
---|
| 16 | +struct xbtree_afakeroot; |
---|
16 | 17 | |
---|
17 | 18 | /* |
---|
18 | 19 | * Btree block header size |
---|
.. | .. |
---|
46 | 47 | extern struct xfs_btree_cur *xfs_refcountbt_init_cursor(struct xfs_mount *mp, |
---|
47 | 48 | struct xfs_trans *tp, struct xfs_buf *agbp, |
---|
48 | 49 | xfs_agnumber_t agno); |
---|
| 50 | +struct xfs_btree_cur *xfs_refcountbt_stage_cursor(struct xfs_mount *mp, |
---|
| 51 | + struct xbtree_afakeroot *afake, xfs_agnumber_t agno); |
---|
49 | 52 | extern int xfs_refcountbt_maxrecs(int blocklen, bool leaf); |
---|
50 | 53 | extern void xfs_refcountbt_compute_maxlevels(struct xfs_mount *mp); |
---|
51 | 54 | |
---|
.. | .. |
---|
58 | 61 | struct xfs_trans *tp, xfs_agnumber_t agno, xfs_extlen_t *ask, |
---|
59 | 62 | xfs_extlen_t *used); |
---|
60 | 63 | |
---|
| 64 | +void xfs_refcountbt_commit_staged_btree(struct xfs_btree_cur *cur, |
---|
| 65 | + struct xfs_trans *tp, struct xfs_buf *agbp); |
---|
| 66 | + |
---|
61 | 67 | #endif /* __XFS_REFCOUNT_BTREE_H__ */ |
---|