/* Unlock the dquot associated with the log item. Clear the fields of the dquot and dquot log item that are specific to the current transaction. If the hold flags is set, do not unlock the dquot.  */
STATIC void xfs_qm_dquot_logitem_unlock(xfs_dq_logitem_t *ql)
/* Unlock the dquot associated with the log item. Clear the fields of the dquot and dquot log item that are specific to the current transaction. If the hold flags is set, do not unlock the dquot.  */
STATIC void xfs_qm_dquot_logitem_unlock(xfs_dq_logitem_t *ql)
{
	xfs_dquot_t	*dqp;
	ASSERT(ql != NULL);
	dqp = ql->qli_dquot;
	ASSERT(XFS_DQ_IS_LOCKED(dqp));
	dqp->q_transp = NULL;
	xfs_dqunlock(dqp);
}