From a601db69c771ab0d541815d2dd46183892e554c9 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Sun, 7 Jan 2018 12:33:21 +0530 Subject: cluster/dht: Change datatype of search_unhashed variable Variable search_unhashed is of type boolean, change it to integer type. This fixes the warning increment of a boolean expression. BUG: 1531987 Change-Id: Ibf153f6a9ad704da38bff346b6a21a71323ed9bb Signed-off-by: Varsha Rao --- xlators/cluster/dht/src/dht-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 577970835ae..a4114adc1de 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -88,7 +88,7 @@ struct dht_layout { int gen; int type; gf_atomic_t ref; /* use with dht_conf_t->layout_lock */ - gf_boolean_t search_unhashed; + uint32_t search_unhashed; struct { int err; /* 0 = normal -1 = dir exists and no xattr -- cgit