diff options
author | 2024-09-26 15:30:17 -0400 | |
---|---|---|
committer | 2024-09-27 21:46:35 -0400 | |
commit | 8d65b15f8d93638cfa9dae20a4274d5059c3b9d2 (patch) | |
tree | 19cee2c6c4917201a9bb96f41b7caf1553a6199d /fs/bcachefs/sb-errors_format.h | |
parent | bcachefs: Fix fsck warnings from bkey validation (diff) | |
download | wireguard-linux-8d65b15f8d93638cfa9dae20a4274d5059c3b9d2.tar.xz wireguard-linux-8d65b15f8d93638cfa9dae20a4274d5059c3b9d2.zip |
bcachefs: Fix BCH_SB_ERRS() so we can reorder
BCH_SB_ERRS() has a field for the actual enum val so that we can reorder
to reorganize, but the way BCH_SB_ERR_MAX was defined didn't allow for
this.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/sb-errors_format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/sb-errors_format.h b/fs/bcachefs/sb-errors_format.h index 4e4e132d6d23..49d8609c4a08 100644 --- a/fs/bcachefs/sb-errors_format.h +++ b/fs/bcachefs/sb-errors_format.h @@ -292,12 +292,12 @@ enum bch_fsck_flags { x(accounting_key_replicas_nr_devs_0, 278, FSCK_AUTOFIX) \ x(accounting_key_replicas_nr_required_bad, 279, FSCK_AUTOFIX) \ x(accounting_key_replicas_devs_unsorted, 280, FSCK_AUTOFIX) \ + x(MAX, 281, 0) enum bch_sb_error_id { #define x(t, n, ...) BCH_FSCK_ERR_##t = n, BCH_SB_ERRS() #undef x - BCH_SB_ERR_MAX }; struct bch_sb_field_errors { |