From b827cdb230b8253c53d646793dd8f21df8202d41 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Tue, 23 Aug 2011 13:47:41 +0530 Subject: xlator: fix for the volume set help crash Change-Id: I1649ed61b13b935d714ca024e6883f3903c5edeb BUG: 3460 Reviewed-on: http://review.gluster.com/310 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- libglusterfs/src/xlator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index 42c701a2d..6098e659b 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); -- cgit