From a6b90707bf68fe62bf115cfb143d9df69627cb64 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Mon, 19 Jul 2010 05:54:25 +0000 Subject: Changes for volume commands Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 1161 (gluster volume start command segfaults glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1161 --- rpc/xdr/src/glusterd1.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'rpc/xdr/src/glusterd1.c') diff --git a/rpc/xdr/src/glusterd1.c b/rpc/xdr/src/glusterd1.c index 76ceea3fda9..6b079f4f450 100644 --- a/rpc/xdr/src/glusterd1.c +++ b/rpc/xdr/src/glusterd1.c @@ -85,6 +85,13 @@ gd_xdr_to_mgmt_friend_req (struct iovec inmsg, void *args) (xdrproc_t)xdr_gd1_mgmt_friend_req); } +ssize_t +gd_xdr_to_mgmt_friend_update (struct iovec inmsg, void *args) +{ + return xdr_to_generic (inmsg, (void *)args, + (xdrproc_t)xdr_gd1_mgmt_friend_update); +} + ssize_t gd_xdr_to_mgmt_cluster_lock_req (struct iovec inmsg, void *args) { @@ -164,6 +171,14 @@ gd_xdr_from_mgmt_probe_req (struct iovec outmsg, void *req) } +ssize_t +gd_xdr_from_mgmt_friend_update (struct iovec outmsg, void *req) +{ + return xdr_serialize_generic (outmsg, (void *)req, + (xdrproc_t)xdr_gd1_mgmt_friend_update); + +} + ssize_t gd_xdr_from_mgmt_friend_req (struct iovec outmsg, void *req) { -- cgit