Commit c167f9e5 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Journal keys overlay fixes



 - In the btree iterator code that overlays keys from the journal, we
   were incorrectly specifying level=0 instead of the btree_path's
   current level in a few places
 - When we didn't do journal replay, we shouldn't free the journal keys:
   this fixes cmd_list and cmd_dump, which run in norecovery mode

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 1f69368c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment