xfs: sanitize qh_lock wrappers
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Feb 2009 07:47:22 +0000 (08:47 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 9 Feb 2009 07:47:22 +0000 (08:47 +0100)
commitc9a192dcf906a33f59c555924e7796a4b9454217
treefda65cd2f97b75d21762fcfa229c2c1e4920e9cf
parent7201813bf55cc06e6a7405831f63df96ee7842e7
xfs: sanitize qh_lock wrappers

Get rid of various obsfucating wrappers for accessing the quota hash lock,
we only keep the accessors for accessing the mplist and freelist locks as
they encode a multi-level datastructure walk.  But make sure all of them
are defined in the same way as simple macros.

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