From 1f3122eaa27cb2c5f8122479a1d1e39cee4888ed Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 28 Sep 2025 11:35:55 -0400 Subject: [PATCH] cmd_option: Fix io path options We were incorrectly getting the OPT_MOUNT options, and io path options are no longer OPT_MOUNT. Signed-off-by: Kent Overstreet --- c_src/cmd_option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_src/cmd_option.c b/c_src/cmd_option.c index 1ae4e076..b40c2458 100644 --- a/c_src/cmd_option.c +++ b/c_src/cmd_option.c @@ -54,7 +54,7 @@ static int name_to_dev_idx(struct bch_fs *c, const char *dev) int cmd_set_option(int argc, char *argv[]) { - struct bch_opt_strs new_opt_strs = bch2_cmdline_opts_get(&argc, argv, OPT_MOUNT|OPT_DEVICE); + struct bch_opt_strs new_opt_strs = bch2_cmdline_opts_get(&argc, argv, OPT_FS|OPT_DEVICE); struct bch_opts new_opts = bch2_parse_opts(new_opt_strs); DARRAY(unsigned) dev_idxs = {}; int opt, ret = 0;