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