path: root/glusterfsd
diff options
authorAmar Tumballi <>2010-10-07 05:56:22 +0000
committerVijay Bellur <>2010-10-07 05:09:08 -0700
commit5979bc3b964adcb8a536dc354e4eca08acaff03e (patch)
treeca1a5ed41fbc95bd51be7791ae0445132b1593db /glusterfsd
parent3c0a7fb86eef1eecada77a6f040f96e1fd9e0536 (diff)
protocol/rpc/transport: bring in one more event for 'TRANSPORT-DESTROY'
needed because, a RPC disconnect doesn't mean that a RPC transport/listener is dead. With this, the race in server protocol cleaning up the lock table / fd table when some frames are in transit will be handled properly. Signed-off-by: Amar Tumballi <> Signed-off-by: Vijay Bellur <> BUG: 1843 () URL:
Diffstat (limited to 'glusterfsd')
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index eb2f61b..4d8eb22 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -661,7 +661,7 @@ cleanup_and_exit (int signum)
glusterfs_mgmt_pmap_signout (ctx);
if (ctx->mgmt)
- rpc_clnt_destroy (ctx->mgmt);
+ rpc_clnt_unref (ctx->mgmt);
gf_log ("glusterfsd", GF_LOG_NORMAL, "shutting down");