bcachefs: Don't error out when just reading the journal
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 1 Dec 2022 16:17:18 +0000 (11:17 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:47 +0000 (17:09 -0400)
commite0de429a3ab5f9485ca781d6d4d7368a2e12d835
tree88fbbc790d51b84eed8a77d6e3c9248d05adf60e
parent6f90e6b28180cb567b0abdb753ccac4c7d840cb2
bcachefs: Don't error out when just reading the journal

This tweaks the recovery and journal paths so that we don't error out
before we need to: the list_journal command should work, even if we
wouldn't be able to replay successfully.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal_io.c
fs/bcachefs/recovery.c