diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-18 12:32:10 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-18 12:49:48 -0400 |
commit | dded444b20dd3f47393937315b8217535ff3c51d (patch) | |
tree | c6f6b3973b5de757b458bb9e0f4c7d81e4fbef4d /libbcachefs/rebalance.c | |
parent | 51ffcc699369deaa0fb4333a68bbbdf523afba11 (diff) |
Update bcachefs sources to dfaf9a6ee2 lib/printbuf: Clean up headers
Diffstat (limited to 'libbcachefs/rebalance.c')
-rw-r--r-- | libbcachefs/rebalance.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbcachefs/rebalance.c b/libbcachefs/rebalance.c index ecc64dd9..17b289b0 100644 --- a/libbcachefs/rebalance.c +++ b/libbcachefs/rebalance.c @@ -268,7 +268,8 @@ void bch2_rebalance_work_to_text(struct printbuf *out, struct bch_fs *c) struct bch_fs_rebalance *r = &c->rebalance; struct rebalance_work w = rebalance_work(c); - out->tabstops[0] = 20; + if (!out->nr_tabstops) + printbuf_tabstop_push(out, 20); prt_printf(out, "fullest_dev (%i):", w.dev_most_full_idx); prt_tab(out); |