Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 247c056b authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix setting of downgrade recovery passes/errors


bch2_check_version_downgrade() was setting c->sb.version, which
bch2_sb_set_downgrade() expects to be at the previous version; and it
shouldn't even have been set directly because c->sb.version is updated
by write_super().

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 08f50005
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment