diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-03 19:36:28 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:09 -0400 |
commit | 56046e3ecce5e9acf543884577d7fbad454de856 (patch) | |
tree | d63e29011c8d2efcfc1454c99823dea56f664c9f /fs/bcachefs/errcode.h | |
parent | 73adfcaf54c8fae86d80da9acad828ee2001cd60 (diff) | |
download | linux-56046e3ecce5e9acf543884577d7fbad454de856.tar.gz linux-56046e3ecce5e9acf543884577d7fbad454de856.tar.bz2 linux-56046e3ecce5e9acf543884577d7fbad454de856.zip |
bcachefs: Convert btree_err_type to normal error codes
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r-- | fs/bcachefs/errcode.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h index 735eb2416113..f7fa87442e98 100644 --- a/fs/bcachefs/errcode.h +++ b/fs/bcachefs/errcode.h @@ -213,6 +213,12 @@ x(BCH_ERR_invalid_sb, invalid_sb_quota) \ x(BCH_ERR_invalid, invalid_bkey) \ x(BCH_ERR_operation_blocked, nocow_lock_blocked) \ + x(EIO, btree_node_read_err) \ + x(BCH_ERR_btree_node_read_err, btree_node_read_err_fixable) \ + x(BCH_ERR_btree_node_read_err, btree_node_read_err_want_retry) \ + x(BCH_ERR_btree_node_read_err, btree_node_read_err_must_retry) \ + x(BCH_ERR_btree_node_read_err, btree_node_read_err_bad_node) \ + x(BCH_ERR_btree_node_read_err, btree_node_read_err_incompatible) enum bch_errcode { BCH_ERR_START = 2048, |