From 6788badddafd6c749136a6d1cbac030f031ada52 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Thu, 28 Feb 2013 10:54:36 +0530 Subject: glusterd: Fix some options in vme table Some of the options had invalid '.flags' members. In the original table these table these were supposed to be the op-versions, but, the entries for the below options were missing the flags field the op-version was entered in that place. Change-Id: I408f5a972743eb37d9a58a809e8be8cb385bced8 BUG: 903478 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/4593 Reviewed-by: Amar Tumballi Tested-by: Gluster Build System --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'xlators/mgmt/glusterd/src') diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index d3249d3a160..a5efb55f8a1 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -575,20 +575,17 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "performance.write-behind-window-size", .voltype = "performance/write-behind", .option = "cache-size", - .flags = 1, .op_version = 1 }, { .key = "performance.strict-o-direct", .voltype = "performance/write-behind", .option = "strict-O_DIRECT", - .flags = 2, - .op_version = 1 + .op_version = 2 }, { .key = "performance.strict-write-ordering", .voltype = "performance/write-behind", .option = "strict-write-ordering", - .flags = 2, - .op_version = 1 + .op_version = 2 }, { .key = "performance.lazy-open", .voltype = "performance/open-behind", @@ -598,7 +595,6 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "performance.read-ahead-page-count", .voltype = "performance/read-ahead", .option = "page-count", - .flags = 1, .op_version = 1 }, { .key = "performance.md-cache-timeout", @@ -822,7 +818,6 @@ struct volopt_map_entry glusterd_volopt_map[] = { .option = "deem-statfs", .value = "off", .type = DOC, - .flags = 0, .op_version = 2, .validate_fn = validate_quota }, -- cgit