diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-08-09 01:53:30 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:09 +0200 |
commit | fc3268c13c1925df9bdc427ffe9bd5466f672b83 (patch) | |
tree | e22d60b4c38a4124ecf03c6da3a8888e630a4bc9 /fs/bcachefs/btree_update_interior.h | |
parent | bcachefs: kill i_sectors_hook (diff) | |
download | linux-fc3268c13c1925df9bdc427ffe9bd5466f672b83.tar.xz linux-fc3268c13c1925df9bdc427ffe9bd5466f672b83.zip |
bcachefs: kill extent_insert_hook
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, 0 insertions, 9 deletions
diff --git a/fs/bcachefs/btree_update_interior.h b/fs/bcachefs/btree_update_interior.h index 4125cddded61..b24988352b03 100644 --- a/fs/bcachefs/btree_update_interior.h +++ b/fs/bcachefs/btree_update_interior.h @@ -161,15 +161,6 @@ static inline void bch2_foreground_maybe_merge_sibling(struct bch_fs *c, { struct btree *b; - /* - * iterators are inconsistent when they hit end of leaf, until - * traversed again - * - * XXX inconsistent how? - */ - if (iter->flags & BTREE_ITER_AT_END_OF_LEAF) - return; - if (iter->uptodate >= BTREE_ITER_NEED_TRAVERSE) return; |