diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-31 23:40:21 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-31 23:40:21 -0400 |
commit | 3457fbde27c15b8937169ee30f1c097018fea024 (patch) | |
tree | ce8d81e83e71c53c2bb99aa32e3235677e62d0f6 /libbcachefs/sb-errors.c | |
parent | 4613023c166e95bd37eef957a82080b2c7625d0d (diff) |
Update bcachefs sources to d316ba08b045 bcachefs: Repair code for directory i_size
Diffstat (limited to 'libbcachefs/sb-errors.c')
-rw-r--r-- | libbcachefs/sb-errors.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libbcachefs/sb-errors.c b/libbcachefs/sb-errors.c index 7ed735a4..48853efd 100644 --- a/libbcachefs/sb-errors.c +++ b/libbcachefs/sb-errors.c @@ -80,7 +80,11 @@ const struct bch_sb_field_ops bch_sb_field_ops_errors = { void bch2_fs_errors_to_text(struct printbuf *out, struct bch_fs *c) { - if (out->nr_tabstops <= 1) + if (out->nr_tabstops < 1) + printbuf_tabstop_push(out, 48); + if (out->nr_tabstops < 2) + printbuf_tabstop_push(out, 8); + if (out->nr_tabstops < 3) printbuf_tabstop_push(out, 16); guard(mutex)(&c->fsck_error_counts_lock); |