aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_qm.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_qm.h')
-rw-r--r--fs/xfs/xfs_qm.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/fs/xfs/xfs_qm.h b/fs/xfs/xfs_qm.h
index 76447060cd47..44b858b79d71 100644
--- a/fs/xfs/xfs_qm.h
+++ b/fs/xfs/xfs_qm.h
@@ -22,13 +22,9 @@
22#include "xfs_dquot.h" 22#include "xfs_dquot.h"
23#include "xfs_quota_priv.h" 23#include "xfs_quota_priv.h"
24 24
25struct xfs_qm;
26struct xfs_inode; 25struct xfs_inode;
27 26
28extern struct mutex xfs_Gqm_lock; 27extern struct kmem_zone *xfs_qm_dqtrxzone;
29extern struct xfs_qm *xfs_Gqm;
30extern kmem_zone_t *qm_dqzone;
31extern kmem_zone_t *qm_dqtrxzone;
32 28
33/* 29/*
34 * This defines the unit of allocation of dquots. 30 * This defines the unit of allocation of dquots.
@@ -42,15 +38,6 @@ extern kmem_zone_t *qm_dqtrxzone;
42#define XFS_DQUOT_CLUSTER_SIZE_FSB (xfs_filblks_t)1 38#define XFS_DQUOT_CLUSTER_SIZE_FSB (xfs_filblks_t)1
43 39
44/* 40/*
45 * Quota Manager (global) structure. Lives only in core.
46 */
47typedef struct xfs_qm {
48 uint qm_nrefs; /* file systems with quota on */
49 kmem_zone_t *qm_dqzone; /* dquot mem-alloc zone */
50 kmem_zone_t *qm_dqtrxzone; /* t_dqinfo of transactions */
51} xfs_qm_t;
52
53/*
54 * Various quota information for individual filesystems. 41 * Various quota information for individual filesystems.
55 * The mount structure keeps a pointer to this. 42 * The mount structure keeps a pointer to this.
56 */ 43 */