xfs: remove the xfs_dq_logitem_t typedef
authorPavel Reichl <preichl@redhat.com>
Wed, 13 Nov 2019 01:04:26 +0000 (17:04 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 14 Nov 2019 02:22:26 +0000 (18:22 -0800)
Signed-off-by: Pavel Reichl <preichl@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h
fs/xfs/xfs_dquot_item.h

index 1439617..1d97e89 100644 (file)
@@ -1018,7 +1018,7 @@ xfs_qm_dqflush_done(
        struct xfs_buf          *bp,
        struct xfs_log_item     *lip)
 {
-       xfs_dq_logitem_t        *qip = (struct xfs_dq_logitem *)lip;
+       struct xfs_dq_logitem   *qip = (struct xfs_dq_logitem *)lip;
        struct xfs_dquot        *dqp = qip->qli_dquot;
        struct xfs_ail          *ailp = lip->li_ailp;
 
index 831e427..fe3e46d 100644 (file)
@@ -40,7 +40,7 @@ struct xfs_dquot {
        xfs_fileoff_t           q_fileoffset;
 
        struct xfs_disk_dquot   q_core;
-       xfs_dq_logitem_t        q_logitem;
+       struct xfs_dq_logitem   q_logitem;
        /* total regular nblks used+reserved */
        xfs_qcnt_t              q_res_bcount;
        /* total inos allocd+reserved */
index 1aed34c..3a64a7f 100644 (file)
@@ -11,11 +11,11 @@ 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 */