diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-06-20 15:53:46 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-29 11:46:46 -0400 |
commit | 6663ee7f8187708143255c057bc132bbc84c1894 (patch) | |
tree | 17e47c1be9da2b3e67d74155676fdba92f435efe /fs/nfs/nfs3proc.c | |
parent | cdb7ecedec766861e7c4cc35a203518f92023bff (diff) | |
download | lwn-6663ee7f8187708143255c057bc132bbc84c1894.tar.gz lwn-6663ee7f8187708143255c057bc132bbc84c1894.zip |
NFS: Create an alloc_client rpc_op
This gives NFS v4 a way to set up callbacks and sessions without v2 or
v3 having to do them as well.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs3proc.c')
-rw-r--r-- | fs/nfs/nfs3proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c index 4ccb34bf1732..77c7aac228bb 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c @@ -934,6 +934,7 @@ const struct nfs_rpc_ops nfs_v3_clientops = { .close_context = nfs_close_context, .have_delegation = nfs3_have_delegation, .return_delegation = nfs3_return_delegation, + .alloc_client = nfs_alloc_client, .init_client = nfs_init_client, .free_client = nfs_free_client, }; |