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 14396171121601e3ad3140ca2d0b1d05a625c55e..1d97e897ebde5a8cb25a501798471039d2d72f0b 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 831e4270cf6536ff3b3d6f392a3d37299b0dfdc3..fe3e46df604b4c2ab92ddacfe093ff3f59a223cf 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 1aed34ccdabc21f9221680c21eacdca4ab6f8d20..3a64a7fd3b8a31e1a6f5a3a7d77ddbff7d97e64a 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 */