From edc3ffe8f25506e60218aa6eb5cbcd3a019f6210 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 24 Apr 2021 16:33:06 -0400 Subject: Update bcachefs sources to 8d3093bd9b bcachefs: Evict btree nodes we're deleting --- libbcachefs/error.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbcachefs/error.h') 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 { -- cgit v1.2.3