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