summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/sb-clean.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-10 22:08:24 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-08 23:29:17 +0200
commit7423330e30ab916d56ce9a9d49e37e40ead5b153 (patch)
tree16ea8f07f0ec544901be73b749629e136bf59285 /fs/bcachefs/sb-clean.c
parentbcachefs: printbufs: prt_printf() now handles \t\r\n (diff)
downloadlinux-7423330e30ab916d56ce9a9d49e37e40ead5b153.tar.xz
linux-7423330e30ab916d56ce9a9d49e37e40ead5b153.zip
bcachefs: prt_printf() now respects \r\n\t
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sb-clean.c')
-rw-r--r--fs/bcachefs/sb-clean.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/bcachefs/sb-clean.c b/fs/bcachefs/sb-clean.c
index d27804d4987a..c2d4be52c8c5 100644
--- a/fs/bcachefs/sb-clean.c
+++ b/fs/bcachefs/sb-clean.c
@@ -298,10 +298,8 @@ static void bch2_sb_clean_to_text(struct printbuf *out, struct bch_sb *sb,
struct bch_sb_field_clean *clean = field_to_type(f, clean);
struct jset_entry *entry;
- prt_printf(out, "flags: %x", le32_to_cpu(clean->flags));
- prt_newline(out);
- prt_printf(out, "journal_seq: %llu", le64_to_cpu(clean->journal_seq));
- prt_newline(out);
+ prt_printf(out, "flags: %x\n", le32_to_cpu(clean->flags));
+ prt_printf(out, "journal_seq: %llu\n", le64_to_cpu(clean->journal_seq));
for (entry = clean->start;
entry != vstruct_end(&clean->field);