aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/quota/xfs_quota_priv.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2005-06-21 01:37:43 -0400
committerNathan Scott <nathans@sgi.com>2005-06-21 01:37:43 -0400
commit66f58d236fd9c2676545678374d58d48206bdbfa (patch)
treeec114f767c2b536fdcdb3fca08503548d56e1adb /fs/xfs/quota/xfs_quota_priv.h
parentefa8027804b2bd8eb7d4b41a1f5b738c36e44e8c (diff)
[XFS] simplify XFS_PURGE_INODE
SGI-PV: 936891 SGI-Modid: xfs-linux:xfs-kern:193408a Signed-off-by: Christoph Hellwig <hch@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/quota/xfs_quota_priv.h')
-rw-r--r--fs/xfs/quota/xfs_quota_priv.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/xfs/quota/xfs_quota_priv.h b/fs/xfs/quota/xfs_quota_priv.h
index 414b6004af21..675f03f443d2 100644
--- a/fs/xfs/quota/xfs_quota_priv.h
+++ b/fs/xfs/quota/xfs_quota_priv.h
@@ -177,13 +177,7 @@ for ((dqp) = (qlist)->qh_next; (dqp) != (xfs_dquot_t *)(qlist); \
177 (!((dqp)->q_core.d_id)) 177 (!((dqp)->q_core.d_id))
178 178
179#define XFS_PURGE_INODE(ip) \ 179#define XFS_PURGE_INODE(ip) \
180 { \ 180 IRELE(ip);
181 vmap_t dqvmap; \
182 vnode_t *dqvp; \
183 dqvp = XFS_ITOV(ip); \
184 VMAP(dqvp, dqvmap); \
185 VN_RELE(dqvp); \
186 }
187 181
188#define DQFLAGTO_TYPESTR(d) (((d)->dq_flags & XFS_DQ_USER) ? "USR" : \ 182#define DQFLAGTO_TYPESTR(d) (((d)->dq_flags & XFS_DQ_USER) ? "USR" : \
189 (((d)->dq_flags & XFS_DQ_GROUP) ? "GRP" : "???")) 183 (((d)->dq_flags & XFS_DQ_GROUP) ? "GRP" : "???"))