diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-06-07 04:59:34 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:33 +0300 |
commit | 576179021c90bea808ac12c491bd9b239ca80c2e (patch) | |
tree | 9e43517d7619b1ef51573f45a8fb813b80bdd2c3 /fs/bcachefs/printbuf.c | |
parent | f2aa02657561b0e6d96089eb8ee44e4154f4acad (diff) | |
download | linux-576179021c90bea808ac12c491bd9b239ca80c2e.tar.xz |
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/printbuf.c')
0 files changed, 0 insertions, 0 deletions