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