summaryrefslogtreecommitdiff
path: root/libbcachefs.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-07-10 20:31:34 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-07-15 17:36:15 -0400
commitc8bec83e307f28751c433ba1d3f648429fb5a34c (patch)
tree6e70e0cf8f25117f706214d86a0689ee8495dca0 /libbcachefs.c
parent1c156d5c4667c1c2e2949b229dfef75696196d35 (diff)
Update bcachefs sources to e14d7c7195 bcachefs: Compression levels
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs.c')
-rw-r--r--libbcachefs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs.c b/libbcachefs.c
index 092a54a6..bac772b2 100644
--- a/libbcachefs.c
+++ b/libbcachefs.c
@@ -604,8 +604,7 @@ struct bch_opts bch2_parse_opts(struct bch_opt_strs strs)
u64 v;
for (i = 0; i < bch2_opts_nr; i++) {
- if (!strs.by_id[i] ||
- bch2_opt_table[i].type == BCH_OPT_FN)
+ if (!strs.by_id[i])
continue;
ret = bch2_opt_parse(NULL,