summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorBryan Schumaker2012-07-30 22:05:18 +0200
committerTrond Myklebust2012-07-31 01:04:53 +0200
commitff9099f26645818563c8d396a154c2ce6ee422eb (patch)
treefdd310643049dfe4105d4cee39024f543c673555 /fs/nfs/nfs4_fs.h
parentNFS: Remove the NFS v4 xdev mount function (diff)
downloadkernel-qcow2-linux-ff9099f26645818563c8d396a154c2ce6ee422eb.tar.gz
kernel-qcow2-linux-ff9099f26645818563c8d396a154c2ce6ee422eb.tar.xz
kernel-qcow2-linux-ff9099f26645818563c8d396a154c2ce6ee422eb.zip
NFS: Create a try_mount rpc op
I'm already looking up the nfs subversion in nfs_fs_mount(), so I have easy access to rpc_ops that used to be difficult to reach. This allows me to set up a different mount path for NFS v2/3 and NFS v4. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 99c2e7e4d3ea..c321fb59d801 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -367,7 +367,7 @@ extern const nfs4_stateid zero_stateid;
/* nfs4super.c */
struct nfs_mount_info;
extern struct nfs_subversion nfs_v4;
-struct dentry *nfs4_try_mount(int, const char *, struct nfs_mount_info *);
+struct dentry *nfs4_try_mount(int, const char *, struct nfs_mount_info *, struct nfs_subversion *);
int init_nfs_v4(void);
void exit_nfs_v4(void);