bool inode_align;
bool nci;
bool lazy_sb_counters;
- bool projid16bit;
+ bool projid32bit;
bool crcs_enabled;
bool dirftype;
bool finobt;
cli->sb_feat.attr_version = getnum(value, &iopts, I_ATTR);
break;
case I_PROJID32BIT:
- cli->sb_feat.projid16bit = !getnum(value, &iopts, I_PROJID32BIT);
+ cli->sb_feat.projid32bit = getnum(value, &iopts, I_PROJID32BIT);
break;
case I_SPINODES:
cli->sb_feat.spinodes = getnum(value, &iopts, I_SPINODES);
/* 32 bit project quota always on */
/* attr2 always on */
- if (cli->sb_feat.projid16bit) {
+ if (!cli->sb_feat.projid32bit) {
fprintf(stderr,
_("32 bit Project IDs always enabled on CRC enabled filesytems\n"));
usage();
sbp->sb_features2 = 0;
if (fp->lazy_sb_counters)
sbp->sb_features2 |= XFS_SB_VERSION2_LAZYSBCOUNTBIT;
- if (!fp->projid16bit)
+ if (fp->projid32bit)
sbp->sb_features2 |= XFS_SB_VERSION2_PROJID32BIT;
if (fp->parent_pointers)
sbp->sb_features2 |= XFS_SB_VERSION2_PARENTBIT;
"realtime =%-22s extsz=%-6d blocks=%lld, rtextents=%lld\n"),
dfile, cfg->inodesize, (long long)cfg->agcount,
(long long)cfg->agsize,
- "", cfg->sectorsize, fp->attr_version, !fp->projid16bit,
+ "", cfg->sectorsize, fp->attr_version, fp->projid32bit,
"", fp->crcs_enabled, fp->finobt, fp->spinodes, fp->rmapbt,
fp->reflink,
"", cfg->blocksize, (long long)cfg->dblocks, cfg->imaxpct,
.inode_align = XFS_IFLAG_ALIGN,
.nci = false,
.lazy_sb_counters = true,
- .projid16bit = false,
+ .projid32bit = true,
.crcs_enabled = true,
.dirftype = true,
.finobt = true,