diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-29 21:08:49 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-30 01:14:18 +0300 |
commit | ef05bdf5d61529daa82058db87fab2752adfc8ee (patch) | |
tree | 57c682ccbe0f9489df5a80cb0018922c7081263b /fs/bcachefs/journal.c | |
parent | 67c564111f0e705dc272035197606c37bae94610 (diff) | |
download | linux-ef05bdf5d61529daa82058db87fab2752adfc8ee.tar.xz |
bcachefs: Add missing printbuf_tabstops_reset() calls
Fixes warnings from bch2_print_allocator_stuck()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal.c')
-rw-r--r-- | fs/bcachefs/journal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/journal.c b/fs/bcachefs/journal.c index 0f4ad9e64ad1..10b19791ec98 100644 --- a/fs/bcachefs/journal.c +++ b/fs/bcachefs/journal.c @@ -1420,8 +1420,8 @@ void __bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) unsigned long now = jiffies; u64 nr_writes = j->nr_flush_writes + j->nr_noflush_writes; - if (!out->nr_tabstops) - printbuf_tabstop_push(out, 28); + printbuf_tabstops_reset(out); + printbuf_tabstop_push(out, 28); out->atomic++; rcu_read_lock(); |