From 92ad6c28936904ed2a43d254892a325bc2c695dc Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Mon, 23 Dec 2013 22:55:15 +0530 Subject: cluster/dht: interim fix for reverting 837422858c Change-Id: I74818a03f7c5d7891561515af2fa35ea3775255c BUG: 1032894 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/6582 Tested-by: Gluster Build System --- xlators/cluster/dht/src/dht-inode-read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/cluster/dht/src/dht-inode-read.c b/xlators/cluster/dht/src/dht-inode-read.c index 86b064d6e..27d9b3ec6 100644 --- a/xlators/cluster/dht/src/dht-inode-read.c +++ b/xlators/cluster/dht/src/dht-inode-read.c @@ -517,7 +517,7 @@ dht_access_cbk (call_frame_t *frame, void *cookie, xlator_t *this, &local->loc, local->rebalance.flags, NULL); return 0; } - if ((op_ret == -1) && dht_inode_missing(op_errno)) { + if ((op_ret == -1) && (op_errno == ENOENT)) { /* File would be migrated to other node */ local->op_errno = op_errno; local->rebalance.target_op_fn = dht_access2; -- cgit