Skip to content

Commit 650f535

Browse files
author
Kent Overstreet
committed
bcachefs: fix bch2_write_point_to_text() units
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 7fdc3fa commit 650f535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/alloc_foreground.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ static void bch2_write_point_to_text(struct printbuf *out, struct bch_fs *c,
15601560
unsigned i;
15611561

15621562
prt_printf(out, "%lu: ", wp->write_point);
1563-
prt_human_readable_u64(out, wp->sectors_allocated);
1563+
prt_human_readable_u64(out, wp->sectors_allocated << 9);
15641564

15651565
prt_printf(out, " last wrote: ");
15661566
bch2_pr_time_units(out, sched_clock() - wp->last_used);

0 commit comments

Comments
 (0)