Lines Matching refs:bcachefs_metadata_version_current
358 bch2_version_to_text(out, bcachefs_metadata_version_current);
369 bch2_version_to_text(out, bcachefs_metadata_version_current);
410 if (BCH_VERSION_MAJOR(le16_to_cpu(sb->version)) > BCH_VERSION_MAJOR(bcachefs_metadata_version_current) ||
411 BCH_SB_VERSION_INCOMPAT(sb) > bcachefs_metadata_version_current) {
415 bch2_version_to_text(out, bcachefs_metadata_version_current);
1106 if (le16_to_cpu(c->disk_sb.sb->version) > bcachefs_metadata_version_current) {
1111 bch2_version_to_text(&buf, bcachefs_metadata_version_current);
1243 bool ret = bcachefs_metadata_version_current < c->sb.version;
1254 if (BCH_SB_VERSION_UPGRADE_COMPLETE(c->disk_sb.sb) > bcachefs_metadata_version_current)
1255 SET_BCH_SB_VERSION_UPGRADE_COMPLETE(c->disk_sb.sb, bcachefs_metadata_version_current);
1256 if (BCH_SB_VERSION_INCOMPAT_ALLOWED(c->disk_sb.sb) > bcachefs_metadata_version_current)
1257 SET_BCH_SB_VERSION_INCOMPAT_ALLOWED(c->disk_sb.sb, bcachefs_metadata_version_current);
1258 if (c->sb.version > bcachefs_metadata_version_current)
1259 c->disk_sb.sb->version = cpu_to_le16(bcachefs_metadata_version_current);
1260 if (c->sb.version_min > bcachefs_metadata_version_current)
1261 c->disk_sb.sb->version_min = cpu_to_le16(bcachefs_metadata_version_current);