diff options
Diffstat (limited to 'xlators/cluster/dht/src/dht-rebalance.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-rebalance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c index 41a61a50e4b..0f836522499 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -2433,7 +2433,7 @@ out: lk_ret = syncop_removexattr (to, loc, GF_PROTECT_FROM_EXTERNAL_WRITES, NULL, NULL); - if (lk_ret && (lk_ret != ENODATA) && (lk_ret != ENOATTR)) { + if (lk_ret && (lk_ret != -ENODATA) && (lk_ret != -ENOATTR)) { gf_msg (this->name, GF_LOG_WARNING, -lk_ret, 0, "%s: removexattr failed key %s", loc->path, GF_PROTECT_FROM_EXTERNAL_WRITES); |