diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-21 05:14:05 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:10:08 +0200 |
commit | ac319b4f89b9ff1377d294013aef59129a88b2d7 (patch) | |
tree | 938bc106515c086409303079ea60edb133eddf0e /fs/bcachefs/btree_update_interior.h | |
parent | bcachefs: Fix btree iter leak in __bch2_insert_snapshot_whiteouts() (diff) | |
download | linux-ac319b4f89b9ff1377d294013aef59129a88b2d7.tar.xz linux-ac319b4f89b9ff1377d294013aef59129a88b2d7.zip |
bcachefs: Move some declarations to the correct header
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.h')
-rw-r--r-- | fs/bcachefs/btree_update_interior.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_update_interior.h b/fs/bcachefs/btree_update_interior.h index 221b7ad5d053..5e0a467fe905 100644 --- a/fs/bcachefs/btree_update_interior.h +++ b/fs/bcachefs/btree_update_interior.h @@ -154,6 +154,15 @@ static inline int bch2_foreground_maybe_merge(struct btree_trans *trans, btree_next_sib); } +int bch2_btree_node_rewrite(struct btree_trans *, struct btree_iter *, + struct btree *, unsigned); +void bch2_btree_node_rewrite_async(struct bch_fs *, struct btree *); +int bch2_btree_node_update_key(struct btree_trans *, struct btree_iter *, + struct btree *, struct bkey_i *, + unsigned, bool); +int bch2_btree_node_update_key_get_iter(struct btree_trans *, struct btree *, + struct bkey_i *, unsigned, bool); + void bch2_btree_set_root_for_read(struct bch_fs *, struct btree *); void bch2_btree_root_alloc(struct bch_fs *, enum btree_id); |