diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-30 03:19:57 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:43:26 -0400 |
commit | b09cc77109dbf33463480952de10511a2b67bba6 (patch) | |
tree | 722ed205af03de0f33b955aeb3a573565242497a /fs/xfs/xfs_quota.h | |
parent | 293688ec420f1160ed93ea4c7948ed5baf8bafa7 (diff) |
[XFS] remove dependency of the quota module on behaviors
Mount options are now parsed by the main XFS module and rejected if quota
support is not available, and there are some new quota operation for the
quotactl syscall and calls to quote in the mount, unmount and sync
callchains.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29503a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_quota.h')
-rw-r--r-- | fs/xfs/xfs_quota.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h index 6f14df976f73..12c4ec775af8 100644 --- a/fs/xfs/xfs_quota.h +++ b/fs/xfs/xfs_quota.h | |||
@@ -330,12 +330,12 @@ typedef struct xfs_dqtrxops { | |||
330 | } xfs_dqtrxops_t; | 330 | } xfs_dqtrxops_t; |
331 | 331 | ||
332 | #define XFS_DQTRXOP(mp, tp, op, args...) \ | 332 | #define XFS_DQTRXOP(mp, tp, op, args...) \ |
333 | ((mp)->m_qm_ops.xfs_dqtrxops ? \ | 333 | ((mp)->m_qm_ops->xfs_dqtrxops ? \ |
334 | ((mp)->m_qm_ops.xfs_dqtrxops->op)(tp, ## args) : 0) | 334 | ((mp)->m_qm_ops->xfs_dqtrxops->op)(tp, ## args) : 0) |
335 | 335 | ||
336 | #define XFS_DQTRXOP_VOID(mp, tp, op, args...) \ | 336 | #define XFS_DQTRXOP_VOID(mp, tp, op, args...) \ |
337 | ((mp)->m_qm_ops.xfs_dqtrxops ? \ | 337 | ((mp)->m_qm_ops->xfs_dqtrxops ? \ |
338 | ((mp)->m_qm_ops.xfs_dqtrxops->op)(tp, ## args) : (void)0) | 338 | ((mp)->m_qm_ops->xfs_dqtrxops->op)(tp, ## args) : (void)0) |
339 | 339 | ||
340 | #define XFS_TRANS_DUP_DQINFO(mp, otp, ntp) \ | 340 | #define XFS_TRANS_DUP_DQINFO(mp, otp, ntp) \ |
341 | XFS_DQTRXOP_VOID(mp, otp, qo_dup_dqinfo, ntp) | 341 | XFS_DQTRXOP_VOID(mp, otp, qo_dup_dqinfo, ntp) |
@@ -364,7 +364,7 @@ typedef struct xfs_dqtrxops { | |||
364 | extern int xfs_qm_dqcheck(xfs_disk_dquot_t *, xfs_dqid_t, uint, uint, char *); | 364 | extern int xfs_qm_dqcheck(xfs_disk_dquot_t *, xfs_dqid_t, uint, uint, char *); |
365 | extern int xfs_mount_reset_sbqflags(struct xfs_mount *); | 365 | extern int xfs_mount_reset_sbqflags(struct xfs_mount *); |
366 | 366 | ||
367 | extern struct bhv_module_vfsops xfs_qmops; | 367 | extern struct xfs_qmops xfs_qmcore_xfs; |
368 | 368 | ||
369 | #endif /* __KERNEL__ */ | 369 | #endif /* __KERNEL__ */ |
370 | 370 | ||