summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/super.c')
-rw-r--r--fs/bcachefs/super.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index 9288e000d8d9..970d1abb5d7a 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -57,7 +57,6 @@
#include "super.h"
#include "super-io.h"
#include "sysfs.h"
-#include "thread_with_file.h"
#include "trace.h"
#include <linux/backing-dev.h>
@@ -69,6 +68,7 @@
#include <linux/percpu.h>
#include <linux/random.h>
#include <linux/sysfs.h>
+#include <linux/thread_with_file.h>
#include <crypto/hash.h>
MODULE_LICENSE("GPL");
@@ -96,7 +96,7 @@ static void bch2_print_maybe_redirect(struct stdio_redirect *stdio, const char *
if (fmt[0] == KERN_SOH[0])
fmt += 2;
- bch2_stdio_redirect_vprintf(stdio, true, fmt, args);
+ stdio_redirect_vprintf(stdio, true, fmt, args);
return;
}
#endif
@@ -113,16 +113,6 @@ void bch2_print_opts(struct bch_opts *opts, const char *fmt, ...)
va_end(args);
}
-void __bch2_print(struct bch_fs *c, const char *fmt, ...)
-{
- struct stdio_redirect *stdio = bch2_fs_stdio_redirect(c);
-
- va_list args;
- va_start(args, fmt);
- bch2_print_maybe_redirect(stdio, fmt, args);
- va_end(args);
-}
-
#define KTYPE(type) \
static const struct attribute_group type ## _group = { \
.attrs = type ## _files \