[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>
This commit is contained in:
parent
efa8027804
commit
66f58d236f
|
@ -177,13 +177,7 @@ for ((dqp) = (qlist)->qh_next; (dqp) != (xfs_dquot_t *)(qlist); \
|
||||||
(!((dqp)->q_core.d_id))
|
(!((dqp)->q_core.d_id))
|
||||||
|
|
||||||
#define XFS_PURGE_INODE(ip) \
|
#define XFS_PURGE_INODE(ip) \
|
||||||
{ \
|
IRELE(ip);
|
||||||
vmap_t dqvmap; \
|
|
||||||
vnode_t *dqvp; \
|
|
||||||
dqvp = XFS_ITOV(ip); \
|
|
||||||
VMAP(dqvp, dqvmap); \
|
|
||||||
VN_RELE(dqvp); \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define DQFLAGTO_TYPESTR(d) (((d)->dq_flags & XFS_DQ_USER) ? "USR" : \
|
#define DQFLAGTO_TYPESTR(d) (((d)->dq_flags & XFS_DQ_USER) ? "USR" : \
|
||||||
(((d)->dq_flags & XFS_DQ_GROUP) ? "GRP" : "???"))
|
(((d)->dq_flags & XFS_DQ_GROUP) ? "GRP" : "???"))
|
||||||
|
|
Loading…
Reference in a new issue