summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bset.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-06-06 21:59:34 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:33 -0400
commit576179021c90bea808ac12c491bd9b239ca80c2e (patch)
tree9e43517d7619b1ef51573f45a8fb813b80bdd2c3 /fs/bcachefs/bset.c
parentf2aa02657561b0e6d96089eb8ee44e4154f4acad (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 'fs/bcachefs/bset.c')
0 files changed, 0 insertions, 0 deletions