When an incompatible version upgrade is requested, dmesg suggest
version_upgrade=incompat. Using this mount option throws the following
error:
bch2_parse_mount_opts() Error parsing option version_upgrade: option_value
The correct value is incompatible; correct the hint to reflect this.
Fixes: c3b02e6d67ac ("bcachefs: Log message when incompat version requested 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
bcachefs_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=incompat to
enable");
+ prt_printf(&buf, "\n set version_upgrade=incompatible
to enable");
bch_notice(c, "%s", buf.buf);
}
--
2.49.1