mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-10 13:47:27 +00:00
Fail mounts with unknown options
Weirdly, the mout option parser silently returned when it found mount options that weren't recognized. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -134,8 +134,8 @@ int scoutfs_parse_options(struct super_block *sb, char *options,
|
||||
return ret;
|
||||
break;
|
||||
default:
|
||||
scoutfs_err(sb, "Unknown or malformed option, \"%s\"",
|
||||
p);
|
||||
scoutfs_err(sb, "Unknown or malformed option, \"%s\"", p);
|
||||
return -EINVAL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user