summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/error.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-06-03 18:27:07 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:40 -0400
commit9ef846a7a13bc6daa3fc431acab5c13d7fb4aa84 (patch)
treefbec1c2e082ca8f090c2113da5fa6d5c4f996737 /fs/bcachefs/error.h
parentf96c0df4dbb0ed845bbc51f341d00bc90368c93c (diff)
downloadlinux-9ef846a7a13bc6daa3fc431acab5c13d7fb4aa84.tar.gz
linux-9ef846a7a13bc6daa3fc431acab5c13d7fb4aa84.tar.bz2
linux-9ef846a7a13bc6daa3fc431acab5c13d7fb4aa84.zip
bcachefs: Improve assorted error messages
This also consolidates the various checks in bch2_mark_pointer() and bch2_trans_mark_pointer(). Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/error.h')
-rw-r--r--fs/bcachefs/error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/error.h b/fs/bcachefs/error.h
index de319794ccd1..94b53312fbbd 100644
--- a/fs/bcachefs/error.h
+++ b/fs/bcachefs/error.h
@@ -102,6 +102,7 @@ struct fsck_err_state {
#define FSCK_CAN_IGNORE (1 << 1)
#define FSCK_NEED_FSCK (1 << 2)
+__printf(3, 4) __cold
enum fsck_err_ret bch2_fsck_err(struct bch_fs *,
unsigned, const char *, ...);
void bch2_flush_fsck_errs(struct bch_fs *);