summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/error.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-02-17 03:02:14 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:09:53 +0200
commit9c5d38bba034253dace198e5801dc7bad6fb8c7e (patch)
tree9cad7a578ba9d7f3757d4d2b63dacf63fdb2c91b /fs/bcachefs/error.h
parentbcachefs: bch2_btree_insert_nonextent() (diff)
downloadlinux-9c5d38bba034253dace198e5801dc7bad6fb8c7e.tar.xz
linux-9c5d38bba034253dace198e5801dc7bad6fb8c7e.zip
bcachefs: Don't print out duplicate fsck errors
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/error.h')
-rw-r--r--fs/bcachefs/error.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/error.h b/fs/bcachefs/error.h
index 9991879dfbff..91c7e4ee8f72 100644
--- a/fs/bcachefs/error.h
+++ b/fs/bcachefs/error.h
@@ -103,7 +103,8 @@ struct fsck_err_state {
const char *fmt;
u64 nr;
bool ratelimited;
- struct printbuf buf;
+ int ret;
+ char *last_msg;
};
#define FSCK_CAN_FIX (1 << 0)