summaryrefslogtreecommitdiff
path: root/fs/xfs/quota/xfs_qm.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-02-09 08:38:39 +0100
committerChristoph Hellwig <hch@brick.lst.de>2009-02-09 08:38:39 +0100
commite249458220c9799fe94573abd341d29c83579671 (patch)
tree109a54c3609a44d1a7a55e062531ac55a9a3ead2 /fs/xfs/quota/xfs_qm.h
parent517b5e8c8516a25a0df3b530fd183eb493a96698 (diff)
downloadlinux-stable-e249458220c9799fe94573abd341d29c83579671.tar.gz
linux-stable-e249458220c9799fe94573abd341d29c83579671.tar.bz2
linux-stable-e249458220c9799fe94573abd341d29c83579671.zip
xfs: remove XFS_QM_LOCK/XFS_QM_UNLOCK/XFS_QM_HOLD/XFS_QM_RELE
Remove these macros which only obsfucated the code in rather nast ways. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/quota/xfs_qm.h')
-rw-r--r--fs/xfs/quota/xfs_qm.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/quota/xfs_qm.h b/fs/xfs/quota/xfs_qm.h
index ddf09166387c..d48c4dbe1428 100644
--- a/fs/xfs/quota/xfs_qm.h
+++ b/fs/xfs/quota/xfs_qm.h
@@ -158,11 +158,6 @@ typedef struct xfs_dquot_acct {
#define XFS_QM_IWARNLIMIT 5
#define XFS_QM_RTBWARNLIMIT 5
-#define XFS_QM_LOCK(xqm) (mutex_lock(&xqm##_lock))
-#define XFS_QM_UNLOCK(xqm) (mutex_unlock(&xqm##_lock))
-#define XFS_QM_HOLD(xqm) ((xqm)->qm_nrefs++)
-#define XFS_QM_RELE(xqm) ((xqm)->qm_nrefs--)
-
extern void xfs_qm_destroy_quotainfo(xfs_mount_t *);
extern void xfs_qm_mount_quotas(xfs_mount_t *);
extern int xfs_qm_quotacheck(xfs_mount_t *);