summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot_item.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-12 17:59:59 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2019-06-12 17:59:59 +0200
commit76dee76921e138d93dba7aaabece13f2c3c1219f (patch)
treecb77078f67ff04260eb74a1c0501ffe819fd6d1f /fs/xfs/xfs_dquot_item.c
parentxfs: merge xfs_buf_zero and xfs_buf_iomove (diff)
downloadlinux-76dee76921e138d93dba7aaabece13f2c3c1219f.tar.xz
linux-76dee76921e138d93dba7aaabece13f2c3c1219f.zip
xfs: remove the debug-only q_transp field from struct xfs_dquot
The field is only used for a few assertations. Shrink the dqout structure instead, similarly to what commit f3ca87389dbf ("xfs: remove i_transp") did for the xfs_inode. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_dquot_item.c')
-rw-r--r--fs/xfs/xfs_dquot_item.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/xfs_dquot_item.c b/fs/xfs/xfs_dquot_item.c
index 7dedd17c4813..87b23ae44397 100644
--- a/fs/xfs/xfs_dquot_item.c
+++ b/fs/xfs/xfs_dquot_item.c
@@ -224,11 +224,6 @@ xfs_qm_dquot_logitem_unlock(
ASSERT(XFS_DQ_IS_LOCKED(dqp));
/*
- * Clear the transaction pointer in the dquot
- */
- dqp->q_transp = NULL;
-
- /*
* dquots are never 'held' from getting unlocked at the end of
* a transaction. Their locking and unlocking is hidden inside the
* transaction layer, within trans_commit. Hence, no LI_HOLD flag