From 6ac37db8415c636607d878c16af8346df55668f4 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 9 Jun 2022 01:13:46 -0400 Subject: Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods --- cmd_format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd_format.c') diff --git a/cmd_format.c b/cmd_format.c index 57aa496c..4debc285 100644 --- a/cmd_format.c +++ b/cmd_format.c @@ -239,7 +239,7 @@ int cmd_format(int argc, char *argv[]) if (!quiet) { struct printbuf buf = PRINTBUF; - buf.units = PRINTBUF_UNITS_HUMAN_READABLE; + buf.human_readable_units = true; bch2_sb_to_text(&buf, sb, false, 1 << BCH_SB_FIELD_members); printf("%s", buf.buf); @@ -340,7 +340,7 @@ int cmd_show_super(int argc, char *argv[]) struct printbuf buf = PRINTBUF; - buf.units = PRINTBUF_UNITS_HUMAN_READABLE; + buf.human_readable_units = true; bch2_sb_to_text(&buf, sb.sb, print_layout, fields); printf("%s", buf.buf); -- cgit v1.2.3