aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpc_pipe.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2011-12-26 07:43:49 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-31 18:20:25 -0500
commitd706ed1f50d3f7fae61a177183562179abe8e4bb (patch)
tree8f66aaf4276a616ac6006c3fb96b13d6b543143d /net/sunrpc/rpc_pipe.c
parentd0fe13ba9178d3bb78bbd8577bdedc00f76b7a66 (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/rpc_pipe.c')
-rw-r--r--net/sunrpc/rpc_pipe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index 299b1a3c3e49..4093da79d512 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -130,9 +130,8 @@ EXPORT_SYMBOL_GPL(rpc_pipe_generic_upcall);
130 * initialize the fields of @msg (other than @msg->list) appropriately. 130 * initialize the fields of @msg (other than @msg->list) appropriately.
131 */ 131 */
132int 132int
133rpc_queue_upcall(struct inode *inode, struct rpc_pipe_msg *msg) 133rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)
134{ 134{
135 struct rpc_pipe *pipe = RPC_I(inode)->pipe;
136 int res = -EPIPE; 135 int res = -EPIPE;
137 136
138 spin_lock(&pipe->lock); 137 spin_lock(&pipe->lock);