diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-22 00:16:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-05-20 13:54:48 -0400 |
commit | f3cd24b05dfac667f183c0d12eac8890edb95f62 (patch) | |
tree | 8831dff58cc40359a085532071ed5df11bfa9c33 /fs/bcachefs/journal.c | |
parent | a136245957317195bb1aa87040d5ceba05a916b4 (diff) |
bcachefs: Convert to lib/printbuf.cprintbuf_v2
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/journal.c')
-rw-r--r-- | fs/bcachefs/journal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/bcachefs/journal.c b/fs/bcachefs/journal.c index 4c5b67599007..5c276fa1c907 100644 --- a/fs/bcachefs/journal.c +++ b/fs/bcachefs/journal.c @@ -1301,7 +1301,7 @@ void __bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) pr_tab(out); pr_buf(out, "%llu", seq); pr_newline(out); - pr_indent_push(out, 2); + pr_indent_add(out, 2); pr_buf(out, "refcount:"); pr_tab(out); @@ -1318,7 +1318,7 @@ void __bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) pr_buf(out, "%li jiffies", j->buf[i].expires - jiffies); pr_newline(out); - pr_indent_pop(out, 2); + pr_indent_sub(out, 2); } pr_buf(out, @@ -1390,7 +1390,7 @@ bool bch2_journal_seq_pins_to_text(struct printbuf *out, struct journal *j, u64 pr_buf(out, "%llu: count %u", *seq, atomic_read(&pin_list->count)); pr_newline(out); - pr_indent_push(out, 2); + pr_indent_add(out, 2); list_for_each_entry(pin, &pin_list->list, list) { pr_buf(out, "\t%px %ps", pin, pin->flush); @@ -1412,7 +1412,7 @@ bool bch2_journal_seq_pins_to_text(struct printbuf *out, struct journal *j, u64 pr_newline(out); } - pr_indent_pop(out, 2); + pr_indent_sub(out, 2); --out->atomic; spin_unlock(&j->lock); |