diff options
Diffstat (limited to 'libbcachefs/fs.c')
-rw-r--r-- | libbcachefs/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/fs.c b/libbcachefs/fs.c index 300348b6..c7797338 100644 --- a/libbcachefs/fs.c +++ b/libbcachefs/fs.c @@ -1604,7 +1604,7 @@ static int bch2_show_options(struct seq_file *seq, struct dentry *root) const struct bch_option *opt = &bch2_opt_table[i]; u64 v = bch2_opt_get_by_id(&c->opts, i); - if (opt->mode < OPT_MOUNT) + if (!(opt->mode & OPT_MOUNT)) continue; if (v == bch2_opt_get_by_id(&bch2_opts_default, i)) |