diff options
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 299b1a3c3e4..4093da79d51 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 | */ |
132 | int | 132 | int |
133 | rpc_queue_upcall(struct inode *inode, struct rpc_pipe_msg *msg) | 133 | rpc_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); |