Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xfs: remove the xfs_dq_logitem_t typedef

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>

authored by

Pavel Reichl and committed by
Darrick J. Wong
fd8b81db c072fbef

+7 -7
+1 -1
fs/xfs/xfs_dquot.c
··· 1018 1018 struct xfs_buf *bp, 1019 1019 struct xfs_log_item *lip) 1020 1020 { 1021 - xfs_dq_logitem_t *qip = (struct xfs_dq_logitem *)lip; 1021 + struct xfs_dq_logitem *qip = (struct xfs_dq_logitem *)lip; 1022 1022 struct xfs_dquot *dqp = qip->qli_dquot; 1023 1023 struct xfs_ail *ailp = lip->li_ailp; 1024 1024
+1 -1
fs/xfs/xfs_dquot.h
··· 40 40 xfs_fileoff_t q_fileoffset; 41 41 42 42 struct xfs_disk_dquot q_core; 43 - xfs_dq_logitem_t q_logitem; 43 + struct xfs_dq_logitem q_logitem; 44 44 /* total regular nblks used+reserved */ 45 45 xfs_qcnt_t q_res_bcount; 46 46 /* total inos allocd+reserved */
+5 -5
fs/xfs/xfs_dquot_item.h
··· 11 11 struct xfs_mount; 12 12 struct xfs_qoff_logitem; 13 13 14 - typedef struct xfs_dq_logitem { 15 - struct xfs_log_item qli_item; /* common portion */ 16 - struct xfs_dquot *qli_dquot; /* dquot ptr */ 17 - xfs_lsn_t qli_flush_lsn; /* lsn at last flush */ 18 - } xfs_dq_logitem_t; 14 + struct xfs_dq_logitem { 15 + struct xfs_log_item qli_item; /* common portion */ 16 + struct xfs_dquot *qli_dquot; /* dquot ptr */ 17 + xfs_lsn_t qli_flush_lsn; /* lsn at last flush */ 18 + }; 19 19 20 20 typedef struct xfs_qoff_logitem { 21 21 struct xfs_log_item qql_item; /* common portion */