diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-11 10:18:42 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 18:20:26 -0500 |
commit | 30507f58ce11e7664512059c708347d7a7d75271 (patch) | |
tree | 91af30e05a4423f4a86ed3852880bdaf45854244 /net/sunrpc/auth_gss | |
parent | 70fe25b6e1a535f09792d1ed7012036c7bd506b2 (diff) |
SUNRPC: remove RPC PipeFS mount point reference from RPC client
This is a cleanup patch. We don't need this reference anymore.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss')
-rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 9da2d837b512..5ebb602cabe0 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c | |||
@@ -777,12 +777,12 @@ static int gss_pipes_dentries_create(struct rpc_auth *auth) | |||
777 | gss_auth = container_of(auth, struct gss_auth, rpc_auth); | 777 | gss_auth = container_of(auth, struct gss_auth, rpc_auth); |
778 | clnt = gss_auth->client; | 778 | clnt = gss_auth->client; |
779 | 779 | ||
780 | gss_auth->pipe[1]->dentry = rpc_mkpipe_dentry(clnt->cl_path.dentry, | 780 | gss_auth->pipe[1]->dentry = rpc_mkpipe_dentry(clnt->cl_dentry, |
781 | "gssd", | 781 | "gssd", |
782 | clnt, gss_auth->pipe[1]); | 782 | clnt, gss_auth->pipe[1]); |
783 | if (IS_ERR(gss_auth->pipe[1]->dentry)) | 783 | if (IS_ERR(gss_auth->pipe[1]->dentry)) |
784 | return PTR_ERR(gss_auth->pipe[1]->dentry); | 784 | return PTR_ERR(gss_auth->pipe[1]->dentry); |
785 | gss_auth->pipe[0]->dentry = rpc_mkpipe_dentry(clnt->cl_path.dentry, | 785 | gss_auth->pipe[0]->dentry = rpc_mkpipe_dentry(clnt->cl_dentry, |
786 | gss_auth->mech->gm_name, | 786 | gss_auth->mech->gm_name, |
787 | clnt, gss_auth->pipe[0]); | 787 | clnt, gss_auth->pipe[0]); |
788 | if (IS_ERR(gss_auth->pipe[0]->dentry)) { | 788 | if (IS_ERR(gss_auth->pipe[0]->dentry)) { |
@@ -804,7 +804,7 @@ static void gss_pipes_dentries_destroy_net(struct rpc_clnt *clnt, | |||
804 | 804 | ||
805 | sb = rpc_get_sb_net(net); | 805 | sb = rpc_get_sb_net(net); |
806 | if (sb) { | 806 | if (sb) { |
807 | if (clnt->cl_path.dentry) | 807 | if (clnt->cl_dentry) |
808 | gss_pipes_dentries_destroy(auth); | 808 | gss_pipes_dentries_destroy(auth); |
809 | rpc_put_sb_net(net); | 809 | rpc_put_sb_net(net); |
810 | } | 810 | } |
@@ -819,7 +819,7 @@ static int gss_pipes_dentries_create_net(struct rpc_clnt *clnt, | |||
819 | 819 | ||
820 | sb = rpc_get_sb_net(net); | 820 | sb = rpc_get_sb_net(net); |
821 | if (sb) { | 821 | if (sb) { |
822 | if (clnt->cl_path.dentry) | 822 | if (clnt->cl_dentry) |
823 | err = gss_pipes_dentries_create(auth); | 823 | err = gss_pipes_dentries_create(auth); |
824 | rpc_put_sb_net(net); | 824 | rpc_put_sb_net(net); |
825 | } | 825 | } |