NFS: Add version registering framework
authorBryan Schumaker <bjschuma@netapp.com>
Mon, 30 Jul 2012 20:05:16 +0000 (16:05 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Jul 2012 23:04:17 +0000 (19:04 -0400)
commitab7017a3a0a64b953e091619c30413b3721d925d
tree1ec947c2794b217d7ead01ee29d8cc5aae4c51f8
parenta427b9ec4eda8cd6e641ea24541d30b641fc3140
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>
12 files changed:
fs/nfs/Makefile
fs/nfs/client.c
fs/nfs/inode.c
fs/nfs/internal.h
fs/nfs/nfs.h [new file with mode: 0644]
fs/nfs/nfs2super.c [new file with mode: 0644]
fs/nfs/nfs3super.c [new file with mode: 0644]
fs/nfs/nfs4_fs.h
fs/nfs/nfs4client.c
fs/nfs/nfs4super.c
fs/nfs/super.c
include/linux/nfs_fs_sb.h