Skip to contentSkip to conversation

fix the regression in ufs options parsing

PATCH New Al Viro 1 participant 1 message Jul 20, 2025 VFS

lore
Share & tools
lore

Al Viro

author maintainer
#0 lore raw

PATCH 1/1 fix the regression in ufs options parsing

[in #fixes, will send a pull request tomorrow]
A really dumb braino on rebasing and a dumber fuckup with managing #for-next

Fixes b70cb459890b ("ufs: convert ufs to the new mount API")

---

fs/ufs/super.c +1 -1
index eea718ac66b4..6e4585169f94 100644
@@ -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;
 		}