diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index ebfcf9b89909..6ec37701a165 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -113,7 +113,7 @@ rpc_setup_pipedir(struct rpc_clnt *clnt, char *dir_name) | |||
113 | "%s/clnt%x", dir_name, | 113 | "%s/clnt%x", dir_name, |
114 | (unsigned int)clntid++); | 114 | (unsigned int)clntid++); |
115 | clnt->cl_pathname[sizeof(clnt->cl_pathname) - 1] = '\0'; | 115 | clnt->cl_pathname[sizeof(clnt->cl_pathname) - 1] = '\0'; |
116 | clnt->cl_dentry = rpc_mkdir(clnt->cl_pathname, clnt); | 116 | clnt->cl_dentry = rpc_create_client_dir(clnt->cl_pathname, clnt); |
117 | if (!IS_ERR(clnt->cl_dentry)) | 117 | if (!IS_ERR(clnt->cl_dentry)) |
118 | return 0; | 118 | return 0; |
119 | error = PTR_ERR(clnt->cl_dentry); | 119 | error = PTR_ERR(clnt->cl_dentry); |
@@ -232,7 +232,7 @@ static struct rpc_clnt * rpc_new_client(const struct rpc_create_args *args, stru | |||
232 | 232 | ||
233 | out_no_auth: | 233 | out_no_auth: |
234 | if (!IS_ERR(clnt->cl_dentry)) { | 234 | if (!IS_ERR(clnt->cl_dentry)) { |
235 | rpc_rmdir(clnt->cl_dentry); | 235 | rpc_remove_client_dir(clnt->cl_dentry); |
236 | rpc_put_mount(); | 236 | rpc_put_mount(); |
237 | } | 237 | } |
238 | out_no_path: | 238 | out_no_path: |
@@ -424,7 +424,7 @@ rpc_free_client(struct kref *kref) | |||
424 | dprintk("RPC: destroying %s client for %s\n", | 424 | dprintk("RPC: destroying %s client for %s\n", |
425 | clnt->cl_protname, clnt->cl_server); | 425 | clnt->cl_protname, clnt->cl_server); |
426 | if (!IS_ERR(clnt->cl_dentry)) { | 426 | if (!IS_ERR(clnt->cl_dentry)) { |
427 | rpc_rmdir(clnt->cl_dentry); | 427 | rpc_remove_client_dir(clnt->cl_dentry); |
428 | rpc_put_mount(); | 428 | rpc_put_mount(); |
429 | } | 429 | } |
430 | if (clnt->cl_parent != clnt) { | 430 | if (clnt->cl_parent != clnt) { |