summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2016-05-03 12:50:51 +0530
committerAtin Mukherjee <amukherj@redhat.com>2016-05-05 02:27:54 -0700
commit8e84d209b747c3ad067a263b1faea25aba981c20 (patch)
tree587ad17a896c9cb4cef355e1414f7be58a2d23e5 /xlators/mgmt
parent80564355aaf15ba7c9b57daeb22f38f3f4f66684 (diff)
mgmt/glusterd: Fix op-version for mandatory-locking volume set option
The following volume set option will be available with 3.8 release. locks.mandatory-locking This one-line change is to fix the wrongly set op-version for the above mentioned volume set option. > Reviewed-on: http://review.gluster.org/14180 > NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> > Smoke: Gluster Build System <jenkins@build.gluster.com> > Reviewed-by: Atin Mukherjee <amukherj@redhat.com> > CentOS-regression: Gluster Build System <jenkins@build.gluster.com> (cherry picked from commit 717e66a799b70c9b61ad56ab9d27915e265f9d3d) Change-Id: Icc7d213f917f5f69e2ec84c685b1138ce2f86a90 BUG: 1332788 Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-on: http://review.gluster.org/14195 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-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 008a4589e10..89ccd2db084 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -2822,7 +2822,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
{ .key = "locks.mandatory-locking",
.voltype = "features/locks",
- .op_version = GD_OP_VERSION_4_0_0,
+ .op_version = GD_OP_VERSION_3_8_0,
.validate_fn = validate_mandatory_locking,
},
{ .key = "cluster.disperse-self-heal-daemon",