]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/xfs/xfs_dquot_item.h
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / fs / xfs / xfs_dquot_item.h
index 1aed34ccdabc21f9221680c21eacdca4ab6f8d20..3bb19e556ade17e3832a6f9310e1feb6af30763c 100644 (file)
@@ -11,25 +11,27 @@ struct xfs_trans;
 struct xfs_mount;
 struct xfs_qoff_logitem;
 
-typedef struct xfs_dq_logitem {
-       struct xfs_log_item      qli_item;         /* common portion */
-       struct xfs_dquot        *qli_dquot;        /* dquot ptr */
-       xfs_lsn_t                qli_flush_lsn;    /* lsn at last flush */
-} xfs_dq_logitem_t;
+struct xfs_dq_logitem {
+       struct xfs_log_item     qli_item;       /* common portion */
+       struct xfs_dquot        *qli_dquot;     /* dquot ptr */
+       xfs_lsn_t               qli_flush_lsn;  /* lsn at last flush */
+};
 
-typedef struct xfs_qoff_logitem {
-       struct xfs_log_item      qql_item;      /* common portion */
-       struct xfs_qoff_logitem *qql_start_lip; /* qoff-start logitem, if any */
+struct xfs_qoff_logitem {
+       struct xfs_log_item     qql_item;       /* common portion */
+       struct xfs_qoff_logitem *qql_start_lip; /* qoff-start logitem, if any */
        unsigned int            qql_flags;
-} xfs_qoff_logitem_t;
+};
 
 
-extern void               xfs_qm_dquot_logitem_init(struct xfs_dquot *);
-extern xfs_qoff_logitem_t *xfs_qm_qoff_logitem_init(struct xfs_mount *,
-                                       struct xfs_qoff_logitem *, uint);
-extern xfs_qoff_logitem_t *xfs_trans_get_qoff_item(struct xfs_trans *,
-                                       struct xfs_qoff_logitem *, uint);
-extern void               xfs_trans_log_quotaoff_item(struct xfs_trans *,
-                                       struct xfs_qoff_logitem *);
+void xfs_qm_dquot_logitem_init(struct xfs_dquot *dqp);
+struct xfs_qoff_logitem        *xfs_qm_qoff_logitem_init(struct xfs_mount *mp,
+               struct xfs_qoff_logitem *start,
+               uint flags);
+struct xfs_qoff_logitem        *xfs_trans_get_qoff_item(struct xfs_trans *tp,
+               struct xfs_qoff_logitem *startqoff,
+               uint flags);
+void xfs_trans_log_quotaoff_item(struct xfs_trans *tp,
+               struct xfs_qoff_logitem *qlp);
 
 #endif /* __XFS_DQUOT_ITEM_H__ */