From 7fe3d3fe2b0bec8085b15fb4d9db8fdead826d57 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Sat, 20 Aug 2011 15:18:09 +0530 Subject: libglusterfs: Fix a crash in gluster volume set help Change-Id: I585e8e685f5c23b6fa632ef708adf2e349ba6704 BUG: 3415 Reviewed-on: http://review.gluster.com/274 Reviewed-by: Raghavendra Bhat Tested-by: Gluster Build System --- libglusterfs/src/xlator.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/xlator.c') diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index 67ecabce576..e826228ed31 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -170,6 +170,7 @@ xlator_volopt_dynload (char *xlator_type, void **dl_handle, gf_log ("xlator", GF_LOG_DEBUG, "Strict option validation not enforced -- neglecting"); } + INIT_LIST_HEAD (&vol_opt->list); list_add_tail (&vol_opt->list, &opt_list->list); ret = 0; -- cgit