diff options
Diffstat (limited to 'fs/xfs/xfs_qm.h')
-rw-r--r-- | fs/xfs/xfs_qm.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fs/xfs/xfs_qm.h b/fs/xfs/xfs_qm.h index 978bbb1a9e77..bdb4f8b95207 100644 --- a/fs/xfs/xfs_qm.h +++ b/fs/xfs/xfs_qm.h | |||
@@ -116,11 +116,15 @@ extern void xfs_trans_log_dquot(struct xfs_trans *, struct xfs_dquot *); | |||
116 | * to do at commit time. All transactions that we know of at this point | 116 | * to do at commit time. All transactions that we know of at this point |
117 | * affect no more than two dquots of one type. Hence, the TRANS_MAXDQS value. | 117 | * affect no more than two dquots of one type. Hence, the TRANS_MAXDQS value. |
118 | */ | 118 | */ |
119 | enum { | ||
120 | XFS_QM_TRANS_USR = 0, | ||
121 | XFS_QM_TRANS_GRP, | ||
122 | XFS_QM_TRANS_DQTYPES | ||
123 | }; | ||
119 | #define XFS_QM_TRANS_MAXDQS 2 | 124 | #define XFS_QM_TRANS_MAXDQS 2 |
120 | typedef struct xfs_dquot_acct { | 125 | struct xfs_dquot_acct { |
121 | xfs_dqtrx_t dqa_usrdquots[XFS_QM_TRANS_MAXDQS]; | 126 | struct xfs_dqtrx dqs[XFS_QM_TRANS_DQTYPES][XFS_QM_TRANS_MAXDQS]; |
122 | xfs_dqtrx_t dqa_grpdquots[XFS_QM_TRANS_MAXDQS]; | 127 | }; |
123 | } xfs_dquot_acct_t; | ||
124 | 128 | ||
125 | /* | 129 | /* |
126 | * Users are allowed to have a usage exceeding their softlimit for | 130 | * Users are allowed to have a usage exceeding their softlimit for |