bcachefs: Journal initialization fixes
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 20 Dec 2021 21:55:49 +0000 (16:55 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:19 +0000 (17:09 -0400)
commit8511632d44a5846f8edc387e90858ae208715574
tree822a2a7e27e4bf51b7ba24d0113eb3faa76f068a
parentffa7d26244e4100600e595e537f4f144a48ab517
bcachefs: Journal initialization fixes

This fixes a rare bug when mounting & unmounting RO - flushing a clean
filesystem that never went RO should be a no op.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/journal.c