diff options
Diffstat (limited to 'fs/xfs/xfs_btree.h')
-rw-r--r-- | fs/xfs/xfs_btree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/xfs/xfs_btree.h b/fs/xfs/xfs_btree.h index 354a6656fad5..18015392feb0 100644 --- a/fs/xfs/xfs_btree.h +++ b/fs/xfs/xfs_btree.h | |||
@@ -187,6 +187,10 @@ struct xfs_btree_ops { | |||
187 | /* cursor operations */ | 187 | /* cursor operations */ |
188 | struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *); | 188 | struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *); |
189 | 189 | ||
190 | /* update btree root pointer */ | ||
191 | void (*set_root)(struct xfs_btree_cur *cur, | ||
192 | union xfs_btree_ptr *nptr, int level_change); | ||
193 | |||
190 | /* block allocation / freeing */ | 194 | /* block allocation / freeing */ |
191 | int (*alloc_block)(struct xfs_btree_cur *cur, | 195 | int (*alloc_block)(struct xfs_btree_cur *cur, |
192 | union xfs_btree_ptr *start_bno, | 196 | union xfs_btree_ptr *start_bno, |
@@ -543,6 +547,7 @@ int xfs_btree_lshift(struct xfs_btree_cur *, int, int *); | |||
543 | int xfs_btree_rshift(struct xfs_btree_cur *, int, int *); | 547 | int xfs_btree_rshift(struct xfs_btree_cur *, int, int *); |
544 | int xfs_btree_split(struct xfs_btree_cur *, int, union xfs_btree_ptr *, | 548 | int xfs_btree_split(struct xfs_btree_cur *, int, union xfs_btree_ptr *, |
545 | union xfs_btree_key *, struct xfs_btree_cur **, int *); | 549 | union xfs_btree_key *, struct xfs_btree_cur **, int *); |
550 | int xfs_btree_new_root(struct xfs_btree_cur *, int *); | ||
546 | 551 | ||
547 | /* | 552 | /* |
548 | * Helpers. | 553 | * Helpers. |