Lines Matching refs:bcachefs_metadata_version_current
325 bch2_version_to_text(out, bcachefs_metadata_version_current); in bch2_sb_compatible()
336 bch2_version_to_text(out, bcachefs_metadata_version_current); in bch2_sb_compatible()
1010 if (le16_to_cpu(c->disk_sb.sb->version) > bcachefs_metadata_version_current) { in bch2_write_super()
1015 bch2_version_to_text(&buf, bcachefs_metadata_version_current); in bch2_write_super()
1139 bool ret = bcachefs_metadata_version_current < c->sb.version; in bch2_check_version_downgrade()
1150 if (BCH_SB_VERSION_UPGRADE_COMPLETE(c->disk_sb.sb) > bcachefs_metadata_version_current) in bch2_check_version_downgrade()
1151 SET_BCH_SB_VERSION_UPGRADE_COMPLETE(c->disk_sb.sb, bcachefs_metadata_version_current); in bch2_check_version_downgrade()
1152 if (c->sb.version > bcachefs_metadata_version_current) in bch2_check_version_downgrade()
1153 c->disk_sb.sb->version = cpu_to_le16(bcachefs_metadata_version_current); in bch2_check_version_downgrade()
1154 if (c->sb.version_min > bcachefs_metadata_version_current) in bch2_check_version_downgrade()
1155 c->disk_sb.sb->version_min = cpu_to_le16(bcachefs_metadata_version_current); in bch2_check_version_downgrade()