diff options
author | Xavier Hernandez <jahernan@redhat.com> | 2017-11-14 10:53:47 +0100 |
---|---|---|
committer | Xavier Hernandez <jahernan@redhat.com> | 2017-11-14 17:31:11 +0000 |
commit | da825da9501bcb51656e82cda3c21a2ef592c5e2 (patch) | |
tree | 5ab89ae8de883b75e8136a7b53e025cf36c24d6d | |
parent | 49afb70f78027f63f4b4a66967e104b109f2f3b9 (diff) |
cluster/ec: Fix op-version for disperse.other-eager-lock
The op-version used for the new option was wrong. It has been set
to 3.13.0.
Change-Id: I88fbd7834e4a8018c8906303e734c251e90be8cf
BUG: 1502610
Signed-off-by: Xavier Hernandez <jahernan@redhat.com>
-rw-r--r-- | xlators/cluster/ec/src/ec.c | 2 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c index 275dd15a302..1d1dcae815b 100644 --- a/xlators/cluster/ec/src/ec.c +++ b/xlators/cluster/ec/src/ec.c @@ -1456,7 +1456,7 @@ struct volume_options options[] = { .key = {"other-eager-lock"}, .type = GF_OPTION_TYPE_BOOL, .default_value = "on", - .op_version = { GD_OP_VERSION_3_12_3 }, + .op_version = { GD_OP_VERSION_3_13_0 }, .flags = OPT_FLAG_SETTABLE | OPT_FLAG_CLIENT_OPT | OPT_FLAG_DOC, .tags = { "disperse" }, .description = "It's equivalent to the eager-lock option but for non " diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 69987a01a1c..4b3b9350ef2 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1447,7 +1447,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { }, { .key = "disperse.other-eager-lock", .voltype = "cluster/disperse", - .op_version = GD_OP_VERSION_3_12_2, + .op_version = GD_OP_VERSION_3_13_0, .flags = VOLOPT_FLAG_CLIENT_OPT }, { .key = "cluster.quorum-type", |