summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-store.c
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kp@gluster.com>2012-02-06 15:12:51 +0530
committerVijay Bellur <vijay@gluster.com>2012-02-07 09:45:08 -0800
commita4818cef9838ed3b1a270f395b4cce9551532927 (patch)
treec782edb6d43d8061b4dd36dc6c6a31c538fdb9d6 /xlators/mgmt/glusterd/src/glusterd-store.c
parent0272f7de41fa529f51bc69fdaf694c77b47250f2 (diff)
glusterd: Initialised op_sm/friend_sm before cluster restore.
Cleaned up peerinfo/rpc association. Change-Id: I11bcaa3ea1f2b86c6b4e235873a60bb5bf76a892 BUG: 786006 Signed-off-by: Krishnan Parthasarathi <kp@gluster.com> Reviewed-on: http://review.gluster.com/2725 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-store.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
index 823fb37cd71..4fe8f71cb5b 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
@@ -2339,7 +2339,7 @@ glusterd_store_retrieve_peers (xlator_t *this)
args.mode = GD_MODE_SWITCH_ON;
ret = glusterd_friend_add (hostname, 0, state, &uuid,
- NULL, &peerinfo, 1, &args);
+ &peerinfo, 1, &args);
GF_FREE (hostname);
if (ret)