summaryrefslogtreecommitdiff
path: root/libbcachefs/error.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-04-24 16:33:06 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2021-04-26 20:18:47 -0400
commitedc3ffe8f25506e60218aa6eb5cbcd3a019f6210 (patch)
tree78d57e95d6ea8c51cf0c04f3ffdc4d2f39650600 /libbcachefs/error.h
parent78905d7540c6689d4c780900f957318452aa316e (diff)
Update bcachefs sources to 8d3093bd9b bcachefs: Evict btree nodes we're deleting
Diffstat (limited to 'libbcachefs/error.h')
-rw-r--r--libbcachefs/error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbcachefs/error.h b/libbcachefs/error.h
index 0e49fd72..d8cd19b3 100644
--- a/libbcachefs/error.h
+++ b/libbcachefs/error.h
@@ -29,6 +29,8 @@ struct work_struct;
bool bch2_inconsistent_error(struct bch_fs *);
+void bch2_topology_error(struct bch_fs *);
+
#define bch2_fs_inconsistent(c, ...) \
({ \
bch_err(c, __VA_ARGS__); \
@@ -88,6 +90,7 @@ enum fsck_err_ret {
FSCK_ERR_IGNORE = 0,
FSCK_ERR_FIX = 1,
FSCK_ERR_EXIT = 2,
+ FSCK_ERR_START_TOPOLOGY_REPAIR = 3,
};
struct fsck_err_state {