1
2
3
4
5
6 #ifndef __XFS_DQUOT_ITEM_H__
7 #define __XFS_DQUOT_ITEM_H__
8
9 struct xfs_dquot;
10 struct xfs_trans;
11 struct xfs_mount;
12 struct xfs_qoff_logitem;
13
14 typedef struct xfs_dq_logitem {
15 struct xfs_log_item qli_item;
16 struct xfs_dquot *qli_dquot;
17 xfs_lsn_t qli_flush_lsn;
18 } xfs_dq_logitem_t;
19
20 typedef struct xfs_qoff_logitem {
21 struct xfs_log_item qql_item;
22 struct xfs_qoff_logitem *qql_start_lip;
23 unsigned int qql_flags;
24 } xfs_qoff_logitem_t;
25
26
27 extern void xfs_qm_dquot_logitem_init(struct xfs_dquot *);
28 extern xfs_qoff_logitem_t *xfs_qm_qoff_logitem_init(struct xfs_mount *,
29 struct xfs_qoff_logitem *, uint);
30 extern xfs_qoff_logitem_t *xfs_trans_get_qoff_item(struct xfs_trans *,
31 struct xfs_qoff_logitem *, uint);
32 extern void xfs_trans_log_quotaoff_item(struct xfs_trans *,
33 struct xfs_qoff_logitem *);
34
35 #endif