[PATCH] Extend project quotas to support 32bit project identificators. [version 3]

Arkadiusz Miskiewicz arekm at maven.pl
Mon Sep 6 05:36:20 CDT 2010


On Monday 06 of September 2010, Dave Chinner wrote:
> On Sat, Aug 28, 2010 at 12:39:58AM +0200, Arkadiusz Miśkiewicz wrote:

> > +static inline void xfs_sb_version_addprojid32bit(xfs_sb_t *sbp)
> > +{
> > +	sbp->sb_versionnum |= XFS_SB_VERSION_MOREBITSBIT;
> > +	sbp->sb_features2 |= XFS_SB_VERSION2_PROJID32BIT;
> > +}
> 
> This also needs to set the bit in the sbp->sb_bad_features2 field.

Hm, why all existing xfs_sb_version_addxyz() don't update it then?

> Cheers,
> 
> Dave.


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/




More information about the xfs mailing list