From: Nathan Scott Date: Thu, 20 Jun 2002 06:24:10 +0000 (+0000) Subject: sync with kernel, noop for userspace. X-Git-Tag: v2.2.0~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd8db6ce2281b9d8ffa912656caa8683ff5fccb6;p=thirdparty%2Fxfsprogs-dev.git sync with kernel, noop for userspace. --- diff --git a/include/xfs_quota.h b/include/xfs_quota.h index 11ca085e1..7235e0bbd 100644 --- a/include/xfs_quota.h +++ b/include/xfs_quota.h @@ -278,6 +278,8 @@ extern void xfs_trans_dqjoin(struct xfs_trans *, struct xfs_dquot *); extern void xfs_qm_dqrele_all_inodes(struct xfs_mount *, uint); +# define _XQM_ZONE_DESTROY(z) ((z)? kmem_cache_destroy(z) : (void)0) + #else # define xfs_qm_init() (NULL) # define xfs_qm_destroy(xqm) do { } while (0) @@ -316,6 +318,7 @@ extern void xfs_qm_dqrele_all_inodes(struct xfs_mount *, uint); # define xfs_qm_vop_chown_reserve(t,i,d1,d2,f) (ENOSYS) # define xfs_qm_vop_rename_dqattach(i) (ENOSYS) # define xfs_qm_vop_dqattach_and_dqmod_newinode(t,i,x,y) do { } while (0) +# define _XQM_ZONE_DESTROY(z) do { } while (0) #endif /* CONFIG_XFS_QUOTA */ /*