diff options
Diffstat (limited to 'libbcachefs/super-io.c')
-rw-r--r-- | libbcachefs/super-io.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libbcachefs/super-io.c b/libbcachefs/super-io.c index b4eb51af..6f5d5391 100644 --- a/libbcachefs/super-io.c +++ b/libbcachefs/super-io.c @@ -965,11 +965,6 @@ int bch2_fs_mark_dirty(struct bch_fs *c) */ mutex_lock(&c->sb_lock); - if (c->opts.version_upgrade) { - c->disk_sb.sb->version = le16_to_cpu(bcachefs_metadata_version_current); - c->disk_sb.sb->features[0] |= BCH_SB_FEATURES_ALL; - } - SET_BCH_SB_CLEAN(c->disk_sb.sb, false); c->disk_sb.sb->features[0] |= BCH_SB_FEATURES_ALWAYS; ret = bch2_write_super(c); |