summaryrefslogtreecommitdiff
path: root/c_src
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-13 08:43:10 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-13 10:14:23 -0400
commit007d6654bc52578e55e439c5b04ce2e6ffe6c827 (patch)
tree6782e13225b1fa3cc515860a9149ba6c1c533344 /c_src
parentbd3e0742afdb2233dbe5d261df9f0b3e8e16a3c6 (diff)
cmd_format: Don't initialize in verbose mode
Verbose is excessive here. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'c_src')
-rw-r--r--c_src/cmd_format.c7
1 files changed, 1 insertions, 6 deletions
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)));