diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2011-12-26 07:43:49 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 18:20:25 -0500 |
commit | d706ed1f50d3f7fae61a177183562179abe8e4bb (patch) | |
tree | 8f66aaf4276a616ac6006c3fb96b13d6b543143d /net/sunrpc/auth_gss/auth_gss.c | |
parent | d0fe13ba9178d3bb78bbd8577bdedc00f76b7a66 (diff) |
SUNPRC: cleanup RPC PipeFS pipes upcall interface
RPC pipe upcall doesn't requires only private pipe data. Thus RPC inode
references in this code can be removed.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/auth_gss.c')
-rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index e933484e55ef..4157e3151581 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c | |||
@@ -473,8 +473,7 @@ gss_setup_upcall(struct rpc_clnt *clnt, struct gss_auth *gss_auth, struct rpc_cr | |||
473 | return gss_new; | 473 | return gss_new; |
474 | gss_msg = gss_add_msg(gss_new); | 474 | gss_msg = gss_add_msg(gss_new); |
475 | if (gss_msg == gss_new) { | 475 | if (gss_msg == gss_new) { |
476 | struct inode *inode = &gss_new->inode->vfs_inode; | 476 | int res = rpc_queue_upcall(gss_new->inode->pipe, &gss_new->msg); |
477 | int res = rpc_queue_upcall(inode, &gss_new->msg); | ||
478 | if (res) { | 477 | if (res) { |
479 | gss_unhash_msg(gss_new); | 478 | gss_unhash_msg(gss_new); |
480 | gss_msg = ERR_PTR(res); | 479 | gss_msg = ERR_PTR(res); |