diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-20 00:20:18 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:37 +0300 |
commit | 1ed0a5d280ef7a1183b42b2fcc13d919925f1b6e (patch) | |
tree | 1bbed805fd079f8991867b0085a00e7c2d0b02de /fs/bcachefs/errcode.h | |
parent | a0cb8d784f309d22323974e47b103bf01d0b62c0 (diff) | |
download | linux-1ed0a5d280ef7a1183b42b2fcc13d919925f1b6e.tar.xz |
bcachefs: Convert fsck errors to errcode.h
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r-- | fs/bcachefs/errcode.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h index 7972b018d2d0..95925c8434b3 100644 --- a/fs/bcachefs/errcode.h +++ b/fs/bcachefs/errcode.h @@ -7,7 +7,6 @@ x(0, freelist_empty) \ x(freelist_empty, no_buckets_found) \ x(0, insufficient_devices) \ - x(0, need_snapshot_cleanup) \ x(0, transaction_restart) \ x(transaction_restart, transaction_restart_fault_inject) \ x(transaction_restart, transaction_restart_relock) \ @@ -30,7 +29,15 @@ x(transaction_restart, transaction_restart_nested) \ x(0, lock_fail_node_reused) \ x(0, lock_fail_root_changed) \ - x(0, journal_reclaim_would_deadlock) + x(0, journal_reclaim_would_deadlock) \ + x(0, fsck) \ + x(fsck, fsck_fix) \ + x(fsck, fsck_ignore) \ + x(fsck, fsck_errors_not_fixed) \ + x(fsck, fsck_repair_unimplemented) \ + x(fsck, fsck_repair_impossible) \ + x(0, need_snapshot_cleanup) \ + x(0, need_topology_repair) enum bch_errcode { BCH_ERR_START = 2048, |