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>
This commit is contained in:
Christoph Hellwig 2009-02-09 08:39:24 +01:00 • committed by Christoph Hellwig
commit 7201813bf5