summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/sb-errors_format.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-09-26 22:23:30 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-28 04:32:22 +0200
commitd50d7a5fa4df3190b6b6c6d6551b631fda4a4ed2 (patch)
tree0464f0020e9d12022960e295245d9766e4d325ce /fs/bcachefs/sb-errors_format.h
parentbcachefs: BCH_FS_clean_recovery (diff)
downloadlinux-d50d7a5fa4df3190b6b6c6d6551b631fda4a4ed2.tar.xz
linux-d50d7a5fa4df3190b6b6c6d6551b631fda4a4ed2.zip
bcachefs: Check for logged ops when clean
If we shut down successfully, there shouldn't be any logged ops to resume. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r--fs/bcachefs/sb-errors_format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/sb-errors_format.h b/fs/bcachefs/sb-errors_format.h
index 6955bb4ea4c5..c15c52ebf699 100644
--- a/fs/bcachefs/sb-errors_format.h
+++ b/fs/bcachefs/sb-errors_format.h
@@ -294,7 +294,8 @@ enum bch_fsck_flags {
x(accounting_key_replicas_nr_required_bad, 279, FSCK_AUTOFIX) \
x(accounting_key_replicas_devs_unsorted, 280, FSCK_AUTOFIX) \
x(accounting_key_version_0, 282, FSCK_AUTOFIX) \
- x(MAX, 283, 0)
+ x(logged_op_but_clean, 283, FSCK_AUTOFIX) \
+ x(MAX, 284, 0)
enum bch_sb_error_id {
#define x(t, n, ...) BCH_FSCK_ERR_##t = n,