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