xfs: use mutex_is_locked in XFS_DQ_IS_LOCKED
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Feb 2009 07:39:24 +0000 (08:39 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 9 Feb 2009 07:39:24 +0000 (08:39 +0100)
commit7201813bf55cc06e6a7405831f63df96ee7842e7
tree12eadd4e19c3defe7bdb8c054cd2b4d66bb5f379
parente249458220c9799fe94573abd341d29c83579671
xfs: use mutex_is_locked in XFS_DQ_IS_LOCKED

Now that we have a helper to test if a mutex is held use it instead of our
own little hacks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
fs/xfs/quota/xfs_dquot.h