diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-06-06 21:59:34 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-03 22:52:21 -0400 |
commit | 77b70dd063208db04ef49f77ee32d7f98184380d (patch) | |
tree | 2abb832e95d01ef5d0655ce8a6cd1c9b0064402f /lib/string_helpers.c | |
parent | 45cc6ba377078dfccec97c49694ee12cb99467ce (diff) |
bcachefs: Fix btree_and_journal_iter
We had a bug where btree_and_journal_iter would return the same key
twice - after deleting it (perhaps because it was present in both the
btree and the journal?)
This reworks btree_and_journal_iter to track the current position, much
like btree_paths, which makes the logic considerably simpler and more
robust.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions