From: Nathan Scott Date: Wed, 4 Apr 2001 05:48:47 +0000 (+0000) Subject: fix [xfs_]check in conjunction with group quota - a reference to projid X-Git-Tag: Release-1_0_0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf797c30f4c739bef4a0a82c25647433be57ec51;p=thirdparty%2Fxfsprogs-dev.git fix [xfs_]check in conjunction with group quota - a reference to projid was still hidden away in there. --- diff --git a/db/check.c b/db/check.c index 8bfc99e6c..e23d798d8 100644 --- a/db/check.c +++ b/db/check.c @@ -2780,9 +2780,7 @@ process_inode( default: } if (ic) - quota_add(dic->di_version >= XFS_DINODE_VERSION_2 ? - dic->di_projid : -1, - dic->di_uid, 0, bc, ic, rc); + quota_add(dic->di_gid, dic->di_uid, 0, bc, ic, rc); } totblocks = totdblocks + totiblocks + atotdblocks + atotiblocks; if (totblocks != dic->di_nblocks) {