diff options
author | Vijay Bellur <vbellur@redhat.com> | 2013-12-23 22:55:15 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-12-24 01:53:48 -0800 |
commit | 92ad6c28936904ed2a43d254892a325bc2c695dc (patch) | |
tree | 40328804858f46ad2776dbedb03f8cd23f0c2fb5 /xlators | |
parent | 610b6ba345a5cadc5319d4f4e8dabcd48f566b50 (diff) |
cluster/dht: interim fix for reverting 837422858c
Change-Id: I74818a03f7c5d7891561515af2fa35ea3775255c
BUG: 1032894
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/6582
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/dht/src/dht-inode-read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-inode-read.c b/xlators/cluster/dht/src/dht-inode-read.c index 86b064d6e89..27d9b3ec62b 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; |