diff options
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r-- | fs/nfs/nfs4state.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 058811e39555..5fffbdfa971f 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
@@ -58,24 +58,6 @@ const nfs4_stateid zero_stateid; | |||
58 | 58 | ||
59 | static LIST_HEAD(nfs4_clientid_list); | 59 | static LIST_HEAD(nfs4_clientid_list); |
60 | 60 | ||
61 | void | ||
62 | init_nfsv4_state(struct nfs_server *server) | ||
63 | { | ||
64 | server->nfs_client = NULL; | ||
65 | INIT_LIST_HEAD(&server->nfs4_siblings); | ||
66 | } | ||
67 | |||
68 | void | ||
69 | destroy_nfsv4_state(struct nfs_server *server) | ||
70 | { | ||
71 | kfree(server->mnt_path); | ||
72 | server->mnt_path = NULL; | ||
73 | if (server->nfs_client) { | ||
74 | nfs_put_client(server->nfs_client); | ||
75 | server->nfs_client = NULL; | ||
76 | } | ||
77 | } | ||
78 | |||
79 | static int nfs4_init_client(struct nfs_client *clp, struct rpc_cred *cred) | 61 | static int nfs4_init_client(struct nfs_client *clp, struct rpc_cred *cred) |
80 | { | 62 | { |
81 | int status = nfs4_proc_setclientid(clp, NFS4_CALLBACK, | 63 | int status = nfs4_proc_setclientid(clp, NFS4_CALLBACK, |