diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-30 16:05:20 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-30 19:06:05 -0400 |
commit | 6a74490dca897471a994a542fc7c5a469b48b46b (patch) | |
tree | d1ae8565c3e51bff590858b2f681b2c35700f55f /fs/nfs/nfs2super.c | |
parent | 1179acc6a3e260bc4edc74fa94f6c7908290eaec (diff) | |
download | op-kernel-dev-6a74490dca897471a994a542fc7c5a469b48b46b.zip op-kernel-dev-6a74490dca897471a994a542fc7c5a469b48b46b.tar.gz |
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/nfs2super.c')
-rw-r--r-- | fs/nfs/nfs2super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs2super.c b/fs/nfs/nfs2super.c index cef06d4..a9fb69d 100644 --- a/fs/nfs/nfs2super.c +++ b/fs/nfs/nfs2super.c @@ -11,6 +11,7 @@ static struct nfs_subversion nfs_v2 = { .nfs_fs = &nfs_fs_type, .rpc_vers = &nfs_version2, .rpc_ops = &nfs_v2_clientops, + .sops = &nfs_sops, }; int __init init_nfs_v2(void) |