74b1de
From 44f758a56c5c5ad340ebc6d6a6478e8712c2c101 Mon Sep 17 00:00:00 2001
12a457
From: Atin Mukherjee <amukherj@redhat.com>
12a457
Date: Mon, 21 Mar 2016 22:31:02 +0530
74b1de
Subject: [PATCH 05/52] libglusterfs/glusterd: Fix compilation errors
12a457
12a457
1. Removed duplicate definition of GD_OP_VER_PERSISTENT_AFR_XATTRS introduced in
12a457
d367a88 where GD_OP_VER_PERSISTENT_AFR_XATTRS was redfined
12a457
12a457
2. Fixed incorrect op-version
12a457
12a457
Label: DOWNSTREAM ONLY
12a457
12a457
Change-Id: Icfa3206e8a41a11875641f57523732b80837f8f6
12a457
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
12a457
Reviewed-on: https://code.engineering.redhat.com/gerrit/70384
12a457
Reviewed-by: Nithya Balachandran <nbalacha@redhat.com>
12a457
---
d1681e
 xlators/mgmt/glusterd/src/glusterd-store.c | 2 +-
d1681e
 1 file changed, 1 insertion(+), 1 deletion(-)
12a457
12a457
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
74b1de
index 64447e7..51ca3d1 100644
12a457
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
12a457
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
74b1de
@@ -967,7 +967,7 @@ glusterd_volume_exclude_options_write(int fd, glusterd_volinfo_t *volinfo)
74b1de
             goto out;
74b1de
     }
12a457
 
74b1de
-    if (conf->op_version >= GD_OP_VERSION_RHS_3_0) {
74b1de
+    if (conf->op_version >= GD_OP_VERSION_3_7_0) {
74b1de
         snprintf(buf, sizeof(buf), "%d", volinfo->disperse_count);
74b1de
         ret = gf_store_save_value(fd, GLUSTERD_STORE_KEY_VOL_DISPERSE_CNT, buf);
74b1de
         if (ret)
12a457
-- 
d1681e
1.8.3.1
12a457