diff options
| author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-05-24 13:37:44 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:39 -0400 |
| commit | 2340fd9d27c48072f4409ad194a8838acd789b8f (patch) | |
| tree | c618d3b7e707644d971c549b7b3dee7eb5b12df8 /fs/bcachefs/bcachefs.h | |
| parent | dc744b51f97ce043d07ebfdd0397b323396c7683 (diff) | |
| download | linux-2340fd9d27c48072f4409ad194a8838acd789b8f.tar.gz linux-2340fd9d27c48072f4409ad194a8838acd789b8f.tar.bz2 linux-2340fd9d27c48072f4409ad194a8838acd789b8f.zip | |
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>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
| -rw-r--r-- | fs/bcachefs/bcachefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index 5304b6762179..069a3c416bc5 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -479,6 +479,7 @@ struct bch_dev { enum { /* startup: */ BCH_FS_ALLOC_READ_DONE, + BCH_FS_ALLOC_CLEAN, BCH_FS_ALLOCATOR_STARTED, BCH_FS_ALLOCATOR_RUNNING, BCH_FS_INITIAL_GC_DONE, |
