diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-15 21:03:26 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:07 -0400 |
commit | 813e0cecd1473d7328376f9ca56f9239bc5b8146 (patch) | |
tree | dbacf6ae0f08a223bbcc1c7d83b1b3827bde8095 /fs/bcachefs/backpointers.c | |
parent | 6132c84cacbff39e7b060abffc4175244347885d (diff) | |
download | linux-stable-813e0cecd1473d7328376f9ca56f9239bc5b8146.tar.gz linux-stable-813e0cecd1473d7328376f9ca56f9239bc5b8146.tar.bz2 linux-stable-813e0cecd1473d7328376f9ca56f9239bc5b8146.zip |
bcachefs: Upgrade path fixes
Some minor fixes to not print errors that are actually due to a verson
upgrade.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/backpointers.c')
-rw-r--r-- | fs/bcachefs/backpointers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/backpointers.c b/fs/bcachefs/backpointers.c index d412bae553a0..7c1e6546d054 100644 --- a/fs/bcachefs/backpointers.c +++ b/fs/bcachefs/backpointers.c @@ -477,7 +477,7 @@ missing: prt_printf(&buf, "\nbp pos "); bch2_bpos_to_text(&buf, bp_iter.pos); - if (c->sb.version < bcachefs_metadata_version_backpointers || + if (c->sb.version_upgrade_complete < bcachefs_metadata_version_backpointers || c->opts.reconstruct_alloc || fsck_err(c, "%s", buf.buf)) ret = bch2_bucket_backpointer_mod(trans, bucket, bp, orig_k, true); |