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