From 638e5bd7746631a9cac6a25494996c0baba6301f Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Fri, 12 Jun 2009 11:34:55 -0400 Subject: [PATCH] --- yaml --- r: 148852 b: refs/heads/master c: 493b87e5ed352cf548e6456ddfc36576e28278ea h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_quota.h | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ddb21f8deaf5..be104fb2d383 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7747a0b0af5976ba3828796b4f7a7adc3bb76dbd +refs/heads/master: 493b87e5ed352cf548e6456ddfc36576e28278ea diff --git a/trunk/fs/xfs/xfs_quota.h b/trunk/fs/xfs/xfs_quota.h index 079d2e61c626..3ec91ac74c2a 100644 --- a/trunk/fs/xfs/xfs_quota.h +++ b/trunk/fs/xfs/xfs_quota.h @@ -335,6 +335,14 @@ extern void xfs_qm_unmount(struct xfs_mount *); extern void xfs_qm_unmount_quotas(struct xfs_mount *); #else +static inline int +xfs_qm_vop_dqalloc(struct xfs_inode *ip, uid_t uid, gid_t gid, prid_t prid, + uint flags, struct xfs_dquot **udqp, struct xfs_dquot **gdqp) +{ + *udqp = NULL; + *gdqp = NULL; + return 0; +} #define xfs_trans_dup_dqinfo(tp, tp2) #define xfs_trans_free_dqinfo(tp) #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta) @@ -342,7 +350,6 @@ extern void xfs_qm_unmount_quotas(struct xfs_mount *); #define xfs_trans_unreserve_and_mod_dquots(tp) #define xfs_trans_reserve_quota_nblks(tp, ip, nblks, ninos, flags) (0) #define xfs_trans_reserve_quota_bydquots(tp, mp, u, g, nb, ni, fl) (0) -#define xfs_qm_vop_dqalloc(ip, uid, gid, prid, fl, ou, og) (0) #define xfs_qm_vop_create_dqattach(tp, ip, u, g) #define xfs_qm_vop_rename_dqattach(it) (0) #define xfs_qm_vop_chown(tp, ip, old, new) (NULL)