fix the regression in ufs options parsing
A really dumb braino on rebasing and a dumber fuckup with managing #for-next
Fixes: b70cb45989 ("ufs: convert ufs to the new mount API")
Fucked-up-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
pull/1301/head
parent
89be9a83cc
commit
e09a335a81
|
|
@ -397,7 +397,7 @@ static int ufs_parse_param(struct fs_context *fc, struct fs_parameter *param)
|
||||||
pr_err("ufstype can't be changed during remount\n");
|
pr_err("ufstype can't be changed during remount\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
if (!ctx->flavour) {
|
if (ctx->flavour) {
|
||||||
pr_err("conflicting ufstype options\n");
|
pr_err("conflicting ufstype options\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue