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