xfs: remove xfs_trans_unlocked_item
There is no reason to wake up log space waiters when unlocking inodes or dquots, and the commit log has no explanation for this function either. Given that we now have exact log space wakeups everywhere we can assume the reason for this function was to paper over log space races in earlier XFS versions. Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:

committed by
Ben Myers

szülő
3af1de753b
commit
5b03ff1b24
@@ -1076,17 +1076,6 @@ xfs_qm_dqflush(
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
xfs_dqunlock(
|
||||
xfs_dquot_t *dqp)
|
||||
{
|
||||
xfs_dqunlock_nonotify(dqp);
|
||||
if (dqp->q_logitem.qli_dquot == dqp) {
|
||||
xfs_trans_unlocked_item(dqp->q_logitem.qli_item.li_ailp,
|
||||
&dqp->q_logitem.qli_item);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Lock two xfs_dquot structures.
|
||||
*
|
||||
|
Reference in New Issue
Block a user