diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-30 16:05:16 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-30 19:04:17 -0400 |
commit | ab7017a3a0a64b953e091619c30413b3721d925d (patch) | |
tree | 1ec947c2794b217d7ead01ee29d8cc5aae4c51f8 /include/linux/nfs_fs_sb.h | |
parent | a427b9ec4eda8cd6e641ea24541d30b641fc3140 (diff) | |
download | linux-stable-ab7017a3a0a64b953e091619c30413b3721d925d.tar.gz linux-stable-ab7017a3a0a64b953e091619c30413b3721d925d.tar.bz2 linux-stable-ab7017a3a0a64b953e091619c30413b3721d925d.zip |
NFS: Add version registering framework
This patch adds in the code to track multiple versions of the NFS
protocol. I created default structures for v2, v3 and v4 so that each
version can continue to work while I convert them into kernel modules.
I also removed the const parameter from the rpc_version array so that I
can change it at runtime.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 65327652c61a..6039297801f4 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -48,6 +48,7 @@ struct nfs_client { struct rpc_clnt * cl_rpcclient; const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */ int cl_proto; /* Network transport protocol */ + struct nfs_subversion * cl_nfs_mod; /* pointer to nfs version module */ u32 cl_minorversion;/* NFSv4 minorversion */ struct rpc_cred *cl_machine_cred; |