bcachefs: Always write a journal entry when stopping journal
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 25 Oct 2020 05:08:28 +0000 (01:08 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:45 +0000 (17:08 -0400)
commit8be901d5d4a266e6838cdb6781084a02d2b37ace
tree2d1b2048c6a81e5a61a0cda0ba2cb61aedfc6279
parent33114c2d897405ec338df979d1bf1d3319f92938
bcachefs: Always write a journal entry when stopping journal

This is to fix a (harmless) bug where the read clock hand in the
superblock doesn't match the journal.

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