mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
[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: Nathan Scott <nathans@sgi.com>
This commit is contained in:
parent
446ada4a03
commit
77a7cce425
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user