diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-04 17:51:16 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-21 11:39:48 -0400 |
| commit | 8ed4ba3663318f1e89cec1a5e6a13b84e91fc012 (patch) | |
| tree | 73fff620f8a0fb83b8432dcf889721209dfa1380 /fs/bcachefs/alloc_foreground.c | |
| parent | bcachefs: Options for recovery_passes, recovery_passes_exclude (diff) | |
| download | linux-8ed4ba3663318f1e89cec1a5e6a13b84e91fc012.tar.gz linux-8ed4ba3663318f1e89cec1a5e6a13b84e91fc012.zip | |
bcachefs: Move tabstop setup to bch2_dev_usage_to_text()
No reason for it not to be where it's needed.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.c')
| -rw-r--r-- | fs/bcachefs/alloc_foreground.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/bcachefs/alloc_foreground.c b/fs/bcachefs/alloc_foreground.c index bf8fb9cd650b..d0e0b56892e3 100644 --- a/fs/bcachefs/alloc_foreground.c +++ b/fs/bcachefs/alloc_foreground.c @@ -1729,13 +1729,6 @@ void bch2_dev_alloc_debug_to_text(struct printbuf *out, struct bch_dev *ca) for (unsigned i = 0; i < ARRAY_SIZE(c->open_buckets); i++) nr[c->open_buckets[i].data_type]++; - printbuf_tabstops_reset(out); - printbuf_tabstop_push(out, 12); - printbuf_tabstop_push(out, 16); - printbuf_tabstop_push(out, 16); - printbuf_tabstop_push(out, 16); - printbuf_tabstop_push(out, 16); - bch2_dev_usage_to_text(out, ca, &stats); prt_newline(out); |
