|
|
256ebe |
From d7bee4a4ad0878003e19711e20994c42c4d2bd9e Mon Sep 17 00:00:00 2001
|
|
|
256ebe |
From: Atin Mukherjee <amukherj@redhat.com>
|
|
|
256ebe |
Date: Tue, 9 Apr 2019 16:15:09 +0530
|
|
|
256ebe |
Subject: [PATCH 084/124] glusterd: Fix duplicate client_op_version in info
|
|
|
256ebe |
file
|
|
|
256ebe |
|
|
|
256ebe |
This must have been introduced while applying downstream only patches at
|
|
|
256ebe |
RHGS 3.5.0 branch.
|
|
|
256ebe |
|
|
|
256ebe |
Change-Id: I231249cca2a7bce29ef53cf95f9d2377b8203283
|
|
|
256ebe |
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
256ebe |
Reviewed-on: https://code.engineering.redhat.com/gerrit/167341
|
|
|
256ebe |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
256ebe |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
256ebe |
---
|
|
|
256ebe |
xlators/mgmt/glusterd/src/glusterd-store.c | 5 -----
|
|
|
256ebe |
1 file changed, 5 deletions(-)
|
|
|
256ebe |
|
|
|
256ebe |
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
|
|
|
256ebe |
index fb52957..351bd9e 100644
|
|
|
256ebe |
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
|
|
|
256ebe |
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
|
|
|
256ebe |
@@ -1022,11 +1022,6 @@ glusterd_volume_exclude_options_write(int fd, glusterd_volinfo_t *volinfo)
|
|
|
256ebe |
goto out;
|
|
|
256ebe |
}
|
|
|
256ebe |
|
|
|
256ebe |
- snprintf(buf, sizeof(buf), "%d", volinfo->client_op_version);
|
|
|
256ebe |
- ret = gf_store_save_value(fd, GLUSTERD_STORE_KEY_VOL_CLIENT_OP_VERSION,
|
|
|
256ebe |
- buf);
|
|
|
256ebe |
- if (ret)
|
|
|
256ebe |
- goto out;
|
|
|
256ebe |
if (volinfo->caps) {
|
|
|
256ebe |
snprintf(buf, sizeof(buf), "%d", volinfo->caps);
|
|
|
256ebe |
ret = gf_store_save_value(fd, GLUSTERD_STORE_KEY_VOL_CAPS, buf);
|
|
|
256ebe |
--
|
|
|
256ebe |
1.8.3.1
|
|
|
256ebe |
|