From e902df70f8157db4db503b7ec3c2635b08b3dcb2 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Tue, 19 May 2015 15:01:08 +0530 Subject: rpc: fix possible deadlock left behind in d448fd1 See http://review.gluster.org/9613 for more details. Change-Id: I05ac0267b8c6f4e9b354acbbdf5469835455fb10 Signed-off-by: Krishnan Parthasarathi Reviewed-on: http://review.gluster.org/10821 Reviewed-by: Raghavendra G Tested-by: Raghavendra G --- rpc/rpc-lib/src/rpc-clnt-ping.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rpc/rpc-lib/src/rpc-clnt-ping.h') diff --git a/rpc/rpc-lib/src/rpc-clnt-ping.h b/rpc/rpc-lib/src/rpc-clnt-ping.h index bf97c0690d2..d92e5054190 100644 --- a/rpc/rpc-lib/src/rpc-clnt-ping.h +++ b/rpc/rpc-lib/src/rpc-clnt-ping.h @@ -12,3 +12,5 @@ #define RPC_DEFAULT_PING_TIMEOUT 30 void rpc_clnt_check_and_start_ping (struct rpc_clnt *rpc_ptr); +int +rpc_clnt_remove_ping_timer_locked (struct rpc_clnt *rpc); -- cgit