summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/rpc-clnt-ping.h
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2015-05-19 15:01:08 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-06-17 00:53:00 -0700
commite902df70f8157db4db503b7ec3c2635b08b3dcb2 (patch)
treead114936a7f4ae3130831f735a3c62ac2a509a65 /rpc/rpc-lib/src/rpc-clnt-ping.h
parent1b9a2edf2c18324ae961dd143e9e9685a019087f (diff)
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 <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/10821 Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src/rpc-clnt-ping.h')
-rw-r--r--rpc/rpc-lib/src/rpc-clnt-ping.h2
1 files changed, 2 insertions, 0 deletions
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);