bcachefs: Don't read journal just for fsck
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 31 Mar 2024 02:42:29 +0000 (22:42 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:18 +0000 (17:29 -0400)
commit4dcd90b6d1b76b87722059db0f368aa48e7703da
treeeedebcb88dd81e7629bfc74f94cd64b807e543ed
parent19391b92947c75267cdacb1acefe8ad0d278a9dd
bcachefs: Don't read journal just for fsck

reading the journal can take a decent amount of time compared to the
rest of fsck, let's only read it when required.

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