/* Release a dquot. Flush it if dirty, then dqput() it. dquot must not be locked.  */
void xfs_qm_dqrele(xfs_dquot_t *dqp)
/* Release a dquot. Flush it if dirty, then dqput() it. dquot must not be locked.  */
void xfs_qm_dqrele(xfs_dquot_t *dqp)
{
	if (!dqp)
		return;
	trace_xfs_dqrele(dqp);
	xfs_dqlock(dqp);
	xfs_qm_dqput(dqp);
}