summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-03-17 21:51:19 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-18 00:24:24 -0400
commit3ed94062e3801e3fd9924ccd54b607abf58cc223 (patch)
treeebe28ecdfd314b9af998af55af7655cd73edd7ae /fs/bcachefs/super.c
parentec35b3048140275600e026ebe46ec8484fbd5d7a (diff)
bcachefs: Improve bch2_fatal_error()
error messages should always include __func__ Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
-rw-r--r--fs/bcachefs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index 1cabdd47e88d..1ad6e5cd9476 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -87,6 +87,7 @@ const char * const bch2_fs_flag_strs[] = {
NULL
};
+__printf(2, 0)
static void bch2_print_maybe_redirect(struct stdio_redirect *stdio, const char *fmt, va_list args)
{
#ifdef __KERNEL__