regression in ufs options parsing

-----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQqUNBr3gm4hGXdBJlZ7Krx/gZQ6wUCaIED9AAKCRBZ7Krx/gZQ
 69tPAQD4FLiS82oG1LfSjPFa6of9omdkSQBhZptuFBTZ8MyVJwD/T/fDFnIXdZQb
 J4MazfsRCtgRdFlRGH90EQGRygwxdQA=
 =UiOi
 -----END PGP SIGNATURE-----

Merge tag 'pull-ufs-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull ufs fix from Al Viro:
 "Fix regression in ufs options parsing"

* tag 'pull-ufs-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  fix the regression in ufs options parsing
This commit is contained in:
Linus Torvalds 2025-07-23 08:53:38 -07:00
commit 01a412d06b

View File

@ -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");
return -EINVAL;
}
if (!ctx->flavour) {
if (ctx->flavour) {
pr_err("conflicting ufstype options\n");
return -EINVAL;
}