summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-set.c
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2019-04-16 08:46:21 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-04-16 12:39:35 +0000
commite5ff6cc397e7a23dff4024efb6806cb004a89ee6 (patch)
treec60a13da8b672a9a29902e46697c8227ec643225 /xlators/mgmt/glusterd/src/glusterd-volume-set.c
parentb3a6d4e32ec5826ce4e389030b99d7b08274ed29 (diff)
glusterd: fix op-version of glusterd.vol_count_per_thread
It was hardcoded and with a wrong value. Fixes: bz#1699339 Change-Id: Ibabe2424a0d35e172a9259bd8849c9bb7cebff1e Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 4cdbbbec250..495c3831dba 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -2833,7 +2833,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{.key = GLUSTERD_VOL_CNT_PER_THRD,
.voltype = "mgmt/glusterd",
.value = GLUSTERD_VOL_CNT_PER_THRD_DEFAULT_VALUE,
- .op_version = 700000,
+ .op_version = GD_OP_VERSION_7_0,
.validate_fn = validate_volume_per_thread_limit,
.type = GLOBAL_NO_DOC,
.description =