diff options
author | Vijay Bellur <vbellur@redhat.com> | 2013-12-23 02:39:00 -0800 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-12-24 03:31:53 -0800 |
commit | 63a3a0dd297f0615517de399f54df99041577a35 (patch) | |
tree | f7d51c963166638cea957aff7a47e383594e730a /xlators/cluster/afr/src/afr-self-heald.c | |
parent | 92ad6c28936904ed2a43d254892a325bc2c695dc (diff) |
Revert "core: fix errno for non-existent GFID"
This reverts commit 837422858c2e4ab447879a4141361fd382645406
Change-Id: I0909f26ce088454bb14b3694b489c672286a4ae6
Reviewed-on: http://review.gluster.org/6575
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heald.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heald.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c index 4ce6e86c8f3..37bc224f58a 100644 --- a/xlators/cluster/afr/src/afr-self-heald.c +++ b/xlators/cluster/afr/src/afr-self-heald.c @@ -190,7 +190,7 @@ _get_path_from_gfid_loc (xlator_t *this, xlator_t *readdir_xl, loc_t *child, ret = syncop_getxattr (readdir_xl, child, &xattr, GFID_TO_PATH_KEY); if (ret < 0) { - if ((errno == ENOENT || errno == ESTALE) && missing) + if ((errno == ENOENT) && missing) *missing = _gf_true; goto out; } |