Commit 77a7cce4 authored by Nathan Scott's avatar Nathan Scott

[XFS] Fix quotaoff logitem for project quota, affects log recovery only.

SGI-PV: 946444
SGI-Modid: xfs-linux-melb:xfs-kern:24768a
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent 446ada4a
...@@ -2562,10 +2562,12 @@ xlog_recover_do_quotaoff_trans( ...@@ -2562,10 +2562,12 @@ xlog_recover_do_quotaoff_trans(
/* /*
* The logitem format's flag tells us if this was user quotaoff, * 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) if (qoff_f->qf_flags & XFS_UQUOTA_ACCT)
log->l_quotaoffs_flag |= XFS_DQ_USER; 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) if (qoff_f->qf_flags & XFS_GQUOTA_ACCT)
log->l_quotaoffs_flag |= XFS_DQ_GROUP; log->l_quotaoffs_flag |= XFS_DQ_GROUP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment