Blob Blame History Raw
From 655d584243f9f4d2c0eafed03953e299f677ebbb Mon Sep 17 00:00:00 2001
From: Nandaja Varma <nvarma@redhat.com>
Date: Thu, 18 Jun 2015 18:05:11 +0530
Subject: [PATCH 100/101] glusterd: Fixing the compilation failures

BUG: 1231771
Change-Id: I800d1655a317aba807b08c41754fe2cad20fed3a
Signed-off-by: Nandaja Varma <nvarma@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/51034
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
---
 xlators/mgmt/glusterd/src/glusterd-volume-ops.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
index 7872314..04b539b 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
@@ -2124,7 +2124,6 @@ glusterd_op_create_volume (dict_t *dict, char **op_errstr)
                         goto out;
                 }
                 if (priv->op_version < GD_OP_VERSION_3_7_0) {
-                if (priv->op_version < GD_OP_VERSION_3_6_0) {
                         gf_msg (this->name, GF_LOG_ERROR, 0,
                                 GD_MSG_UNSUPPORTED_VERSION, "Disperse volume "
                                 "needs op-version 30700 or higher");
-- 
1.7.1