summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/cli1-xdr.c
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-09-14 05:23:35 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-14 04:37:16 -0700
commit8b667fed03a49dc59ef9ae937a081145d38dc5a1 (patch)
tree50ed85e2fa755a23b322658f896b83917fe3fea7 /rpc/xdr/src/cli1-xdr.c
parentbc4f737210bc0971d031cf9b3ff8fe941482eabc (diff)
check if the export directory is present while starting volume and send the response to cli
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1593 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1593
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.c')
-rw-r--r--rpc/xdr/src/cli1-xdr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1-xdr.c b/rpc/xdr/src/cli1-xdr.c
index dd225f35524..95c27e99ff1 100644
--- a/rpc/xdr/src/cli1-xdr.c
+++ b/rpc/xdr/src/cli1-xdr.c
@@ -279,6 +279,8 @@ xdr_gf1_cli_start_vol_rsp (XDR *xdrs, gf1_cli_start_vol_rsp *objp)
return FALSE;
if (!xdr_string (xdrs, &objp->volname, ~0))
return FALSE;
+ if (!xdr_string (xdrs, &objp->op_errstr, ~0))
+ return FALSE;
return TRUE;
}