diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-12-30 13:08:26 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:33 -0400 |
commit | 54e86b581306295444ba149bf20106ce518b425f (patch) | |
tree | 836b73c854f21b8df04fd434635ef82071769363 /fs/bcachefs/extent_update.h | |
parent | f21539a56d9753e702d4aa8b71ac1dd6de85f570 (diff) |
bcachefs: Make btree_insert_entry more private to update path
This should be private to btree_update_leaf.c, and we might end up
removing it.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/extent_update.h')
-rw-r--r-- | fs/bcachefs/extent_update.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/bcachefs/extent_update.h b/fs/bcachefs/extent_update.h index 89d18e4b6758..e9dc8091ba3f 100644 --- a/fs/bcachefs/extent_update.h +++ b/fs/bcachefs/extent_update.h @@ -10,9 +10,10 @@ int bch2_extent_trim_atomic(struct bkey_i *, struct btree_iter *); int bch2_extent_is_atomic(struct bkey_i *, struct btree_iter *); enum btree_insert_ret -bch2_extent_can_insert(struct btree_trans *, struct btree_insert_entry *, - unsigned *); +bch2_extent_can_insert(struct btree_trans *, struct btree_iter *, + struct bkey_i *, unsigned *); void bch2_insert_fixup_extent(struct btree_trans *, - struct btree_insert_entry *); + struct btree_iter *, + struct bkey_i *); #endif /* _BCACHEFS_EXTENT_UPDATE_H */ |