summaryrefslogtreecommitdiff
path: root/fs/bcachefs/errcode.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-08-10 19:08:30 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:37 -0400
commit315c9ba6da5b480618a80dcb91a74a86e49366bb (patch)
tree8a7baa5a0af60556fc4aad576956bf6400b538b5 /fs/bcachefs/errcode.h
parentfd211bc71c9b4093ed39d4fc93294f9ff423febc (diff)
bcachefs: BTREE_ITER_NO_NODE -> BCH_ERR codes
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r--fs/bcachefs/errcode.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h
index 6dd2152e782e..15a1be2fcc84 100644
--- a/fs/bcachefs/errcode.h
+++ b/fs/bcachefs/errcode.h
@@ -28,6 +28,15 @@
x(transaction_restart, transaction_restart_key_cache_realloced)\
x(transaction_restart, transaction_restart_journal_preres_get) \
x(transaction_restart, transaction_restart_nested) \
+ x(0, no_btree_node) \
+ x(no_btree_node, no_btree_node_relock) \
+ x(no_btree_node, no_btree_node_upgrade) \
+ x(no_btree_node, no_btree_node_drop) \
+ x(no_btree_node, no_btree_node_lock_root) \
+ x(no_btree_node, no_btree_node_up) \
+ x(no_btree_node, no_btree_node_down) \
+ x(no_btree_node, no_btree_node_init) \
+ x(no_btree_node, no_btree_node_cached) \
x(0, lock_fail_node_reused) \
x(0, lock_fail_root_changed) \
x(0, journal_reclaim_would_deadlock) \