summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2017-02-24 12:41:45 +0100
committerShyamsundar Ranganathan <srangana@redhat.com>2017-02-26 11:31:25 -0500
commitd9172b961b85fc2e5431b2970521709680166fe1 (patch)
tree54e3126f7711335b256a165c9c69de198547107a /xlators/cluster/dht
parent235ae3528d4e8a914fc208ff05580336c865727c (diff)
dnt: Add a GF_DEFRAG_CMD_NONE to gf_defrag_type
Coverity complain about enum mismatch since we assign GF_OP_CMD_NONE to a variable holding gf_defrag_type. Change-Id: I63e71f552b3cc752c26c1b8705420f38908e17e6 BUG: 789278 Signed-off-by: Michael Scherer <misc@redhat.com> Reviewed-on: https://review.gluster.org/16756 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Tested-by: Michael Scherer <misc@fedoraproject.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/cluster/dht')
-rw-r--r--xlators/cluster/dht/src/dht-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h
index ffe53d99ce1..4e9f02cf256 100644
--- a/xlators/cluster/dht/src/dht-common.h
+++ b/xlators/cluster/dht/src/dht-common.h
@@ -320,6 +320,7 @@ struct dht_du {
typedef struct dht_du dht_du_t;
enum gf_defrag_type {
+ GF_DEFRAG_CMD_NONE = 0,
GF_DEFRAG_CMD_START = 1,
GF_DEFRAG_CMD_STOP = 1 + 1,
GF_DEFRAG_CMD_STATUS = 1 + 2,