[PATCH] bcachefs: fix version_upgrade hint
[email protected] Tue, 2 Dec 2025 06:07:30 +0200
| Newsgroups | org.kernel.vger.linux-bcachefs |
|---|---|
| Message-ID | <[email protected]> |
When an incompatible version upgrade is requested, dmesg suggest
version_upgrade=3Dincompat. Using this mount option throws the following
error:
bch2_parse_mount_opts() Error parsing option version_upgrade: option_valu=
e
The correct value is incompatible; correct the hint to reflect this.
Fixes: c3b02e6d67ac ("bcachefs: Log message when incompat version request=
ed but not enabled")
Signed-off-by: Stijn Tintel <[email protected]>
---
fs/bcachefs/sb/io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/bcachefs/sb/io.c b/fs/bcachefs/sb/io.c
index a81d27b70442..41dc23f3c15f 100644
--- a/fs/bcachefs/sb/io.c
+++ b/fs/bcachefs/sb/io.c
@@ -98,7 +98,7 @@ int bch2_set_version_incompat(struct bch_fs *c, enum bc=
achefs_metadata_version v
bch2_version_to_text(&buf, version);
prt_str(&buf, " currently not enabled, allowed up to ");
bch2_version_to_text(&buf, c->sb.version_incompat_allowed);
- prt_printf(&buf, "\n set version_upgrade=3Dincompat to enable");
+ prt_printf(&buf, "\n set version_upgrade=3Dincompatible to enable");
=20
bch_notice(c, "%s", buf.buf);
}
--=20
2.49.1