summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3super.c
diff options
context:
space:
mode:
authorBryan Schumaker2012-07-30 22:05:20 +0200
committerTrond Myklebust2012-07-31 01:06:05 +0200
commit6a74490dca897471a994a542fc7c5a469b48b46b (patch)
treed1ae8565c3e51bff590858b2f681b2c35700f55f /fs/nfs/nfs3super.c
parentNFS: Only initialize the ACL client in the v3 case (diff)
downloadkernel-qcow2-linux-6a74490dca897471a994a542fc7c5a469b48b46b.tar.gz
kernel-qcow2-linux-6a74490dca897471a994a542fc7c5a469b48b46b.tar.xz
kernel-qcow2-linux-6a74490dca897471a994a542fc7c5a469b48b46b.zip
NFS: Pass super operations and xattr handlers in the nfs_subversion
I can set all variables in the nfs_fill_super() function, allowing me to remove the nfs4_fill_super() function. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs3super.c')
-rw-r--r--fs/nfs/nfs3super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs3super.c b/fs/nfs/nfs3super.c
index f815cf359d97..8378090b8104 100644
--- a/fs/nfs/nfs3super.c
+++ b/fs/nfs/nfs3super.c
@@ -11,6 +11,7 @@ static struct nfs_subversion nfs_v3 = {
.nfs_fs = &nfs_fs_type,
.rpc_vers = &nfs_version3,
.rpc_ops = &nfs_v3_clientops,
+ .sops = &nfs_sops,
};
int __init init_nfs_v3(void)