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