summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-08-26 09:09:59 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-26 08:51:22 -0700
commit67d8b620186807f38277713930da2a1d1926d6d0 (patch)
treed46c48fecffd98650f85d8f06d7a44be7d495e04 /xlators/mgmt/glusterd/src/glusterd.c
parent0b87986fb6c35771f1ee60a161d427725c954c38 (diff)
glusterd-pmap: trigger signout by RPC_DISCONNECT event
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1314 (portmapper functionality) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1314
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c
index 2665e4ad236..1d19c7ed80a 100644
--- a/xlators/mgmt/glusterd/src/glusterd.c
+++ b/xlators/mgmt/glusterd/src/glusterd.c
@@ -151,7 +151,10 @@ glusterd_rpcsvc_notify (rpcsvc_t *rpc, void *xl, rpcsvc_event_t event,
break;
}
case RPCSVC_EVENT_DISCONNECT:
+ {
+ pmap_registry_remove (this, 0, NULL, xprt);
break;
+ }
default:
break;