mirror of https://gitee.com/openkylin/linux.git
[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))
|
||||
|
||||
#define XFS_PURGE_INODE(ip) \
|
||||
{ \
|
||||
vmap_t dqvmap; \
|
||||
vnode_t *dqvp; \
|
||||
dqvp = XFS_ITOV(ip); \
|
||||
VMAP(dqvp, dqvmap); \
|
||||
VN_RELE(dqvp); \
|
||||
}
|
||||
IRELE(ip);
|
||||
|
||||
#define DQFLAGTO_TYPESTR(d) (((d)->dq_flags & XFS_DQ_USER) ? "USR" : \
|
||||
(((d)->dq_flags & XFS_DQ_GROUP) ? "GRP" : "???"))
|
||||
|
|
Loading…
Reference in New Issue