summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/graph.y
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2019-04-12 07:55:04 +0530
committerAmar Tumballi <amarts@redhat.com>2019-05-06 13:57:44 +0000
commitdb9c31fcf57024abfdc7b35825409166f17d5aac (patch)
tree85a51adf6ec9289599475fb8d01a7badd46c8d91 /libglusterfs/src/graph.y
parente0dadeb3242a10827c6142f609c87d860b3ce546 (diff)
tests: validate volfile grammar - strings in volfile
* libglusterfs/graph-print: remove unused code updates: bz#1693692 Change-Id: Iae81bb6a3af5911c3da07ab8f1d8f58f27e06905 Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'libglusterfs/src/graph.y')
-rw-r--r--libglusterfs/src/graph.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/graph.y b/libglusterfs/src/graph.y
index c60ff388b2a..56cab044266 100644
--- a/libglusterfs/src/graph.y
+++ b/libglusterfs/src/graph.y
@@ -164,6 +164,7 @@ new_volume (char *name)
goto out;
}
+ INIT_LIST_HEAD(&curr->volume_options);
curr->options = dict_new ();
if (!curr->options) {