mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
bcachefs: Fix __bch2_btree_iter_peek_slot_extents()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
63f1a59847
commit
9df279407a
@ -1436,8 +1436,7 @@ __bch2_btree_iter_peek_slot_extents(struct btree_iter *iter)
|
||||
|
||||
recheck:
|
||||
while ((k = __btree_iter_peek_all(iter, l, &iter->k)).k &&
|
||||
bkey_deleted(k.k) &&
|
||||
bkey_cmp(bkey_start_pos(k.k), iter->pos) == 0)
|
||||
bkey_cmp(k.k->p, iter->pos) <= 0)
|
||||
bch2_btree_node_iter_advance(&l->iter, l->b);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user