diff options
-rw-r--r-- | libglusterfs/src/graph.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libglusterfs/src/graph.c b/libglusterfs/src/graph.c index 1edcf20eda6..86d08f0e25b 100644 --- a/libglusterfs/src/graph.c +++ b/libglusterfs/src/graph.c @@ -292,8 +292,10 @@ glusterfs_graph_validate_options (glusterfs_graph_t *graph) trav = graph->first; while (trav) { - if (list_empty (&trav->volume_options)) + if (list_empty (&trav->volume_options)) { + trav = trav->next; continue; + } ret = xlator_options_validate (trav, trav->options, &errstr); if (ret) { |