From 007d6654bc52578e55e439c5b04ce2e6ffe6c827 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 13 Apr 2025 08:43:10 -0400 Subject: cmd_format: Don't initialize in verbose mode Verbose is excessive here. Signed-off-by: Kent Overstreet --- c_src/cmd_format.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'c_src/cmd_format.c') diff --git a/c_src/cmd_format.c b/c_src/cmd_format.c index b342ae61..d0b5d5e8 100644 --- a/c_src/cmd_format.c +++ b/c_src/cmd_format.c @@ -304,18 +304,13 @@ int cmd_format(int argc, char *argv[]) } if (initialize) { - struct bch_opts mount_opts = bch2_opts_empty(); - - - opt_set(mount_opts, verbose, verbose); - /* * Start the filesystem once, to allocate the journal and create * the root directory: */ struct bch_fs *c = bch2_fs_open(device_paths.data, device_paths.nr, - mount_opts); + bch2_opts_empty()); if (IS_ERR(c)) die("error opening %s: %s", device_paths.data[0], bch2_err_str(PTR_ERR(c))); -- cgit v1.2.3