From b99e0e06788380e41d6c08ea308a6dd87a7afdfe Mon Sep 17 00:00:00 2001 From: Kaushik BV Date: Wed, 23 Feb 2011 03:38:36 +0000 Subject: mgmt/Glusterd: while resetting the volume options, the previous data structures w.r.t auth. must be deleted Signed-off-by: Kaushik BV Signed-off-by: Anand V. Avati BUG: 2374 ([glusterfs 3.1.2] gluster volume set auth.reject command failure on nfs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2374 --- glusterfsd/src/glusterfsd-mgmt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 95ab7b98fcb..a6d8a480076 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -371,6 +371,8 @@ mgmt_getspec_cbk (struct rpc_req *req, struct iovec *iov, int count, if (ret == 0) { gf_log ("glusterfsd-mgmt", GF_LOG_DEBUG, "No need to re-load volfile, reconfigure done"); + oldvollen = size; + memcpy (oldvolfile, rsp.spec, size); goto out; } -- cgit