aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-07-30 16:05:18 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-30 19:04:53 -0400
commitff9099f26645818563c8d396a154c2ce6ee422eb (patch)
treefdd310643049dfe4105d4cee39024f543c673555 /fs/nfs/nfs4proc.c
parente8f25e6d6d198dca7d09d8fe2c24ba3b9683bb24 (diff)
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/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 6843e0a37de8..eb4ba1d99df9 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -6870,6 +6870,7 @@ const struct nfs_rpc_ops nfs_v4_clientops = {
6870 .file_ops = &nfs4_file_operations, 6870 .file_ops = &nfs4_file_operations,
6871 .getroot = nfs4_proc_get_root, 6871 .getroot = nfs4_proc_get_root,
6872 .submount = nfs4_submount, 6872 .submount = nfs4_submount,
6873 .try_mount = nfs4_try_mount,
6873 .getattr = nfs4_proc_getattr, 6874 .getattr = nfs4_proc_getattr,
6874 .setattr = nfs4_proc_setattr, 6875 .setattr = nfs4_proc_setattr,
6875 .lookup = nfs4_proc_lookup, 6876 .lookup = nfs4_proc_lookup,