e3c68b
From 9be3c4745b161f1815f77cd19b550ac9795845f5 Mon Sep 17 00:00:00 2001
e3c68b
From: Ravishankar N <ravishankar@redhat.com>
e3c68b
Date: Thu, 20 Sep 2018 22:01:05 +0530
e3c68b
Subject: [PATCH 27/52] glusterd: change op-version of fips-mode-rchecksum
e3c68b
e3c68b
..to GD_OP_VERSION_3_13_3 since GD_OP_VERSION_4_0_0 is not present in
e3c68b
rhgs-3.4.1
e3c68b
e3c68b
Label: DOWNSTREAM ONLY
e3c68b
e3c68b
Change-Id: I759272748177d174b15123faffc2305f7a5ec58f
e3c68b
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
e3c68b
Reviewed-on: https://code.engineering.redhat.com/gerrit/150714
e3c68b
Tested-by: RHGS Build Bot <nigelb@redhat.com>
e3c68b
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
e3c68b
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
e3c68b
---
e3c68b
 libglusterfs/src/glusterfs/globals.h            | 2 ++
e3c68b
 xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 +-
e3c68b
 2 files changed, 3 insertions(+), 1 deletion(-)
e3c68b
e3c68b
diff --git a/libglusterfs/src/glusterfs/globals.h b/libglusterfs/src/glusterfs/globals.h
e3c68b
index a278f18..4a82889 100644
e3c68b
--- a/libglusterfs/src/glusterfs/globals.h
e3c68b
+++ b/libglusterfs/src/glusterfs/globals.h
e3c68b
@@ -118,6 +118,8 @@
e3c68b
 
e3c68b
 #define GD_OP_VERSION_3_13_2 31302 /* Op-version for GlusterFS 3.13.2 */
e3c68b
 
e3c68b
+#define GD_OP_VERSION_3_13_3 31303 /* Op-version for GlusterFS 3.13.3 */
e3c68b
+
e3c68b
 #define GD_OP_VERSION_4_0_0 40000 /* Op-version for GlusterFS 4.0.0 */
e3c68b
 
e3c68b
 #define GD_OP_VERSION_4_1_0 40100 /* Op-version for GlusterFS 4.1.0 */
e3c68b
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
e3c68b
index 84f2705..2bd0a9c 100644
e3c68b
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
e3c68b
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
e3c68b
@@ -2329,7 +2329,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
e3c68b
         .key = "storage.fips-mode-rchecksum",
e3c68b
         .type = NO_DOC,
e3c68b
         .voltype = "storage/posix",
e3c68b
-        .op_version = GD_OP_VERSION_4_0_0,
e3c68b
+        .op_version = GD_OP_VERSION_3_13_3,
e3c68b
     },
e3c68b
     {
e3c68b
         .option = "force-create-mode",
e3c68b
-- 
e3c68b
1.8.3.1
e3c68b