diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 76eef19cf995..4e91f3110938 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -72,6 +72,8 @@ static void call_connect_status(struct rpc_task *task); | |||
72 | static __be32 * call_header(struct rpc_task *task); | 72 | static __be32 * call_header(struct rpc_task *task); |
73 | static __be32 * call_verify(struct rpc_task *task); | 73 | static __be32 * call_verify(struct rpc_task *task); |
74 | 74 | ||
75 | static int rpc_ping(struct rpc_clnt *clnt, int flags); | ||
76 | |||
75 | static void rpc_register_client(struct rpc_clnt *clnt) | 77 | static void rpc_register_client(struct rpc_clnt *clnt) |
76 | { | 78 | { |
77 | spin_lock(&rpc_client_lock); | 79 | spin_lock(&rpc_client_lock); |
@@ -1441,7 +1443,7 @@ static struct rpc_procinfo rpcproc_null = { | |||
1441 | .p_decode = rpcproc_decode_null, | 1443 | .p_decode = rpcproc_decode_null, |
1442 | }; | 1444 | }; |
1443 | 1445 | ||
1444 | int rpc_ping(struct rpc_clnt *clnt, int flags) | 1446 | static int rpc_ping(struct rpc_clnt *clnt, int flags) |
1445 | { | 1447 | { |
1446 | struct rpc_message msg = { | 1448 | struct rpc_message msg = { |
1447 | .rpc_proc = &rpcproc_null, | 1449 | .rpc_proc = &rpcproc_null, |