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