cmd_format: Don't initialize in verbose mode

Verbose is excessive here.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-04-13 08:43:10 -04:00
parent bd3e0742af
commit 007d6654bc

View File

@ -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)));