bcachefs: Be more rigorous about marking the filesystem clean
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 24 May 2020 17:37:44 +0000 (13:37 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:39 +0000 (17:08 -0400)
commit2340fd9d27c48072f4409ad194a8838acd789b8f
treec618d3b7e707644d971c549b7b3dee7eb5b12df8
parentdc744b51f97ce043d07ebfdd0397b323396c7683
bcachefs: Be more rigorous about marking the filesystem clean

Previously, there was at least one error path where we could mark the
filesystem clean when we hadn't sucessfully written out alloc info.

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