mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
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:
parent
2ba562cc04
commit
c1ccd43b35
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user