From 57ecbbd6ce5b682a9e69c775ace48588d6535396 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Wed, 10 Jun 2015 14:14:25 +0530 Subject: geo-rep: Validate use_meta_volume option Added validation for use_meta_volume option. Change-Id: I64cd9cb4bf383c7267638cab3837fd0cf89071c7 Signed-off-by: Aravinda VK BUG: 1230090 Reviewed-on: http://review.gluster.org/11156 Tested-by: Gluster Build System Reviewed-by: Kotresh HR --- xlators/mgmt/glusterd/src/glusterd-geo-rep.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c index cffd4624a6d..5b89ec0972b 100644 --- a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c +++ b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c @@ -51,6 +51,16 @@ struct gsync_config_opt_vals_ gsync_confopt_vals[] = { .case_sensitive = _gf_false, .values = {"true", "false", "0", "1", "yes", "no"} }, + {.op_name = "use_meta_volume", + .no_of_pos_vals = 6, + .case_sensitive = _gf_false, + .values = {"true", "false", "0", "1", "yes", "no"} + }, + {.op_name = "use-meta-volume", + .no_of_pos_vals = 6, + .case_sensitive = _gf_false, + .values = {"true", "false", "0", "1", "yes", "no"} + }, {.op_name = NULL, }, }; -- cgit