diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 16:58:16 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-13 15:55:54 -0500 |
commit | 80a376bfb7f8ff8f1942cb1bdd0052e908918252 (patch) | |
tree | f370553d188065bfa2722b74076ef81b111cd477 /fs/xfs/xfs_quota.h | |
parent | 497507b9ee63499d364ad7149c584285cd925dfc (diff) |
xfs: remove XFS_DQ_INACTIVE
Free dquots when purging them during umount instead of keeping them around
on the freelist in a degraded state. The out of order locking in
xfs_qm_dqpurge will be removed again later in this series.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_quota.h')
-rw-r--r-- | fs/xfs/xfs_quota.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h index 707ba33e3196..cbafdee8b98a 100644 --- a/fs/xfs/xfs_quota.h +++ b/fs/xfs/xfs_quota.h | |||
@@ -88,7 +88,6 @@ typedef struct xfs_dqblk { | |||
88 | #define XFS_DQ_GROUP 0x0004 /* a group quota */ | 88 | #define XFS_DQ_GROUP 0x0004 /* a group quota */ |
89 | #define XFS_DQ_DIRTY 0x0008 /* dquot is dirty */ | 89 | #define XFS_DQ_DIRTY 0x0008 /* dquot is dirty */ |
90 | #define XFS_DQ_WANT 0x0010 /* for lookup/reclaim race */ | 90 | #define XFS_DQ_WANT 0x0010 /* for lookup/reclaim race */ |
91 | #define XFS_DQ_INACTIVE 0x0020 /* dq off mplist & hashlist */ | ||
92 | 91 | ||
93 | #define XFS_DQ_ALLTYPES (XFS_DQ_USER|XFS_DQ_PROJ|XFS_DQ_GROUP) | 92 | #define XFS_DQ_ALLTYPES (XFS_DQ_USER|XFS_DQ_PROJ|XFS_DQ_GROUP) |
94 | 93 | ||
@@ -97,8 +96,7 @@ typedef struct xfs_dqblk { | |||
97 | { XFS_DQ_PROJ, "PROJ" }, \ | 96 | { XFS_DQ_PROJ, "PROJ" }, \ |
98 | { XFS_DQ_GROUP, "GROUP" }, \ | 97 | { XFS_DQ_GROUP, "GROUP" }, \ |
99 | { XFS_DQ_DIRTY, "DIRTY" }, \ | 98 | { XFS_DQ_DIRTY, "DIRTY" }, \ |
100 | { XFS_DQ_WANT, "WANT" }, \ | 99 | { XFS_DQ_WANT, "WANT" } |
101 | { XFS_DQ_INACTIVE, "INACTIVE" } | ||
102 | 100 | ||
103 | /* | 101 | /* |
104 | * In the worst case, when both user and group quotas are on, | 102 | * In the worst case, when both user and group quotas are on, |