• Kent Overstreet's avatar
    bcachefs: Fix btree_and_journal_iter · 57617902
    Kent Overstreet authored
    
    
    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: default avatarKent Overstreet <kent.overstreet@gmail.com>
    57617902
recovery.h 1.81 KB