summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-08-23 13:47:41 +0530
committerVijay Bellur <vijay@gluster.com>2011-08-23 02:00:48 -0700
commitb827cdb230b8253c53d646793dd8f21df8202d41 (patch)
tree341a63c16778fc515c353f8a3dd2057d4ca4c1d4
parent6e02c879ad847b760a05f9afd3fddc9f152bda23 (diff)
xlator: fix for the volume set help crashv3.3beta2v3.3.0qa9v3.3.0qa8
Change-Id: I1649ed61b13b935d714ca024e6883f3903c5edeb BUG: 3460 Reviewed-on: http://review.gluster.com/310 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
-rw-r--r--libglusterfs/src/xlator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c
index 42c701a2d8e..6098e659bf9 100644
--- a/libglusterfs/src/xlator.c
+++ b/libglusterfs/src/xlator.c
@@ -169,6 +169,8 @@ xlator_volopt_dynload (char *xlator_type, void **dl_handle,
gf_log ("xlator", GF_LOG_DEBUG,
"Strict option validation not enforced -- neglecting");
}
+ opt_list->given_opt = vol_opt->given_opt;
+
INIT_LIST_HEAD (&vol_opt->list);
list_add_tail (&vol_opt->list, &opt_list->list);