Skip to content

Commit

Permalink
[XFS] Fix quotaoff logitem for project quota, affects log recovery only.
Browse files Browse the repository at this point in the history
SGI-PV: 946444
SGI-Modid: xfs-linux-melb:xfs-kern:24768a

Signed-off-by: Nathan Scott <nathans@sgi.com>
  • Loading branch information
Nathan Scott committed Jan 11, 2006
1 parent 446ada4 commit 77a7cce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fs/xfs/xfs_log_recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 77a7cce

Please sign in to comment.