#define bch2_fmt(_c, fmt)              bch2_log_msg(_c, fmt "\n")
 
 void bch2_print_str(struct bch_fs *, const char *, const char *);
-void bch2_print_str_nonblocking(struct bch_fs *, const char *, const char *);
 
 __printf(2, 3)
 void bch2_print_opts(struct bch_opts *, const char *, ...);
 
                prt_newline(&buf);
        }
 
-       bch2_print_str_nonblocking(g->g->trans->c, KERN_ERR, buf.buf);
+       bch2_print_str(g->g->trans->c, KERN_ERR, buf.buf);
        printbuf_exit(&buf);
        BUG();
 }
 
        if (trans)
                bch2_trans_updates_to_text(&buf, trans);
        bool ret = __bch2_inconsistent_error(c, &buf);
-       bch2_print_str_nonblocking(c, KERN_ERR, buf.buf);
+       bch2_print_str(c, KERN_ERR, buf.buf);
 
        printbuf_exit(&buf);
        return ret;
 
 #undef x
 
 static void __bch2_print_str(struct bch_fs *c, const char *prefix,
-                            const char *str, bool nonblocking)
+                            const char *str)
 {
 #ifdef __KERNEL__
        struct stdio_redirect *stdio = bch2_fs_stdio_redirect(c);
                return;
        }
 #endif
-       bch2_print_string_as_lines(KERN_ERR, str, nonblocking);
+       bch2_print_string_as_lines(KERN_ERR, str);
 }
 
 void bch2_print_str(struct bch_fs *c, const char *prefix, const char *str)
 {
-       __bch2_print_str(c, prefix, str, false);
-}
-
-void bch2_print_str_nonblocking(struct bch_fs *c, const char *prefix, const char *str)
-{
-       __bch2_print_str(c, prefix, str, true);
+       __bch2_print_str(c, prefix, str);
 }
 
 __printf(2, 0)
 
        return true;
 }
 
-void bch2_print_string_as_lines(const char *prefix, const char *lines,
-                               bool nonblocking)
+void bch2_print_string_as_lines(const char *prefix, const char *lines)
 {
        bool locked = false;
        const char *p;
                return;
        }
 
-       if (!nonblocking) {
-               console_lock();
-               locked = true;
-       } else {
-               locked = console_trylock();
-       }
+       locked = console_trylock();
 
        while (*lines) {
                p = strchrnul(lines, '\n');
 
 void bch2_prt_u64_base2_nbits(struct printbuf *, u64, unsigned);
 void bch2_prt_u64_base2(struct printbuf *, u64);
 
-void bch2_print_string_as_lines(const char *, const char *, bool);
+void bch2_print_string_as_lines(const char *, const char *);
 
 typedef DARRAY(unsigned long) bch_stacktrace;
 int bch2_save_backtrace(bch_stacktrace *stack, struct task_struct *, unsigned, gfp_t);