xfs: simplify xfs_qm_detach_gdquots
authorChristoph Hellwig <hch@infradead.org>
Tue, 6 Dec 2011 21:58:21 +0000 (21:58 +0000)
committerBen Myers <bpm@sgi.com>
Fri, 16 Dec 2011 21:33:30 +0000 (15:33 -0600)
commit28fb588c9bd810dec273d96e80591392f6ce1e1c
treea45ca1155de23900b194d7406ea772f48d328894
parent093019cf1b18dd31b2c3b77acce4e000e2cbc9ce
xfs: simplify xfs_qm_detach_gdquots

There is no reason to drop qi_dqlist_lock around calls to xfs_qm_dqrele
because the free list lock now nests inside qi_dqlist_lock and the
dquot lock.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_qm.c