]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
fix [xfs_]check in conjunction with group quota - a reference to projid
authorNathan Scott <nathans@sgi.com>
Wed, 4 Apr 2001 05:48:47 +0000 (05:48 +0000)
committerNathan Scott <nathans@sgi.com>
Wed, 4 Apr 2001 05:48:47 +0000 (05:48 +0000)
was still hidden away in there.

db/check.c

index 8bfc99e6cc1d8ab480a3998c400d0c9779adcfdd..e23d798d8952b9dabed6da5789c7c71721938109 100644 (file)
@@ -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) {