]> err.no Git - linux-2.6/commitdiff
[XFS] Fix quotaoff logitem for project quota, affects log recovery only.
authorNathan Scott <nathans@sgi.com>
Wed, 11 Jan 2006 04:35:57 +0000 (15:35 +1100)
committerNathan Scott <nathans@sgi.com>
Wed, 11 Jan 2006 04:35:57 +0000 (15:35 +1100)
SGI-PV: 946444
SGI-Modid: xfs-linux-melb:xfs-kern:24768a

Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_log_recover.c

index d0c9fc4fed60e36d1346d025e64dff899af46da4..7d46cbd6a07ad448588c4fcc50c8695cc9008a66 100644 (file)
@@ -2562,10 +2562,12 @@ xlog_recover_do_quotaoff_trans(
 
        /*
         * The logitem format's flag tells us if this was user quotaoff,
-        * group quotaoff or both.
+        * group/project quotaoff or both.
         */
        if (qoff_f->qf_flags & XFS_UQUOTA_ACCT)
                log->l_quotaoffs_flag |= XFS_DQ_USER;
+       if (qoff_f->qf_flags & XFS_PQUOTA_ACCT)
+               log->l_quotaoffs_flag |= XFS_DQ_PROJ;
        if (qoff_f->qf_flags & XFS_GQUOTA_ACCT)
                log->l_quotaoffs_flag |= XFS_DQ_GROUP;