Kent Overstreet 08070cba4a bcachefs: Split btree_iter_traverse and bch2_btree_iter_traverse()
External (to the btree iterator code) users of bch2_btree_iter_traverse
expect that on success the iterator will be pointed at iter->pos and
have that position locked - but since we split iter->pos and
iter->real_pos, that means it has to update iter->real_pos if necessary.

Internal users don't expect it to modify iter->real_pos, so we need two
separate functions.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-22 17:08:57 -04:00
..
2023-10-22 17:08:55 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:08:54 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:34 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:08:57 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:42 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:08:56 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:07 -04:00