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/nfs4_fs.h | |
parent | cdb7ecedec766861e7c4cc35a203518f92023bff (diff) |
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/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 9889ee476e37..a0be2d1af04b 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -303,6 +303,8 @@ extern const u32 nfs4_fs_locations_bitmap[2]; | |||
303 | 303 | ||
304 | void nfs4_free_client(struct nfs_client *); | 304 | void nfs4_free_client(struct nfs_client *); |
305 | 305 | ||
306 | struct nfs_client *nfs4_alloc_client(const struct nfs_client_initdata *); | ||
307 | |||
306 | /* nfs4renewd.c */ | 308 | /* nfs4renewd.c */ |
307 | extern void nfs4_schedule_state_renewal(struct nfs_client *); | 309 | extern void nfs4_schedule_state_renewal(struct nfs_client *); |
308 | extern void nfs4_renewd_prepare_shutdown(struct nfs_server *); | 310 | extern void nfs4_renewd_prepare_shutdown(struct nfs_server *); |