bcachefs: Fix "now allowing incompatible features" message

Check against version_incompat_allowed, not version_incompat.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet
2025-06-13 17:47:07 -04:00
parent 2ba562cc04
commit c1ccd43b35
+1 -1
View File
@@ -692,7 +692,7 @@ static bool check_version_upgrade(struct bch_fs *c)
ret = true;
}
if (new_version > c->sb.version_incompat &&
if (new_version > c->sb.version_incompat_allowed &&
c->opts.version_upgrade == BCH_VERSION_UPGRADE_incompatible) {
struct printbuf buf = PRINTBUF;