bcachefs: fix flag printing in journal_buf_to_text()
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 20 Apr 2024 00:23:32 +0000 (20:23 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:20 +0000 (17:29 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal.c

index 1b62034e197d6b0c6e78bc76ebae8ecf4b46b803..17ceddbd88582aac2528b8aa085f711bf3a7129e 100644 (file)
@@ -77,9 +77,9 @@ static void bch2_journal_buf_to_text(struct printbuf *out, struct journal *j, u6
        if (buf->write_started)
                prt_str(out, "write_started ");
        if (buf->write_allocated)
-               prt_str(out, "write allocated ");
+               prt_str(out, "write_allocated ");
        if (buf->write_done)
-               prt_str(out, "write done");
+               prt_str(out, "write_done");
        prt_newline(out);
 
        printbuf_indent_sub(out, 2);