summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dmops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-10-30 07:53:24 +0100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-10-30 07:53:24 +0100
commit9d565ffa33d574c2a22442f9d95ca2bd0be7cc42 (patch)
tree6a90c653b264fa286525a24f5bd2ce2f2767252e /fs/xfs/xfs_dmops.c
parent[XFS] XFS: Check for valid transaction headers in recovery (diff)
downloadlinux-9d565ffa33d574c2a22442f9d95ca2bd0be7cc42.tar.xz
linux-9d565ffa33d574c2a22442f9d95ca2bd0be7cc42.zip
[XFS] kill struct xfs_mount_args
No need to parse the mount option into a structure before applying it to struct xfs_mount. The content of xfs_start_flags gets merged into xfs_parseargs. Calls inbetween don't care and can use mount members instead of the args struct. This patch uncovered that the mount option for shared filesystems wasn't ever exposed on Linux. The code to handle it is #if 0'ed in this patch pending a decision on this feature. I'll send a writeup about it to the list soon. SGI-PV: 987246 SGI-Modid: xfs-linux-melb:xfs-kern:32371a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Donald Douwsma <donaldd@sgi.com> Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dmops.c')
-rw-r--r--fs/xfs/xfs_dmops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dmops.c b/fs/xfs/xfs_dmops.c
index a1e55fb9d5dd..e71e2581c0c3 100644
--- a/fs/xfs/xfs_dmops.c
+++ b/fs/xfs/xfs_dmops.c
@@ -25,7 +25,6 @@
#include "xfs_inum.h"
#include "xfs_ag.h"
#include "xfs_mount.h"
-#include "xfs_clnt.h"
static struct xfs_dmops xfs_dmcore_stub = {
@@ -38,9 +37,9 @@ static struct xfs_dmops xfs_dmcore_stub = {
};
int
-xfs_dmops_get(struct xfs_mount *mp, struct xfs_mount_args *args)
+xfs_dmops_get(struct xfs_mount *mp)
{
- if (args->flags & XFSMNT_DMAPI) {
+ if (mp->m_flags & XFS_MOUNT_DMAPI) {
cmn_err(CE_WARN,
"XFS: dmapi support not available in this kernel.");
return EINVAL;