summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2012-05-23 12:03:51 -0700
committerAnand Avati <avati@redhat.com>2012-05-23 12:21:51 -0700
commitd65a0f9f1b31cb688719d92a257a4d8e70ae83ce (patch)
tree8d3a81babb6bbdab01d001e279bd6da3f63b8c46 /xlators/mount
parent2606b87470e396e3e79269764e01f572da051e41 (diff)
Revert "fuse-resolve: consider cases where an entry should be resolved even when parent belongs to active itable."
This reverts commit 595bc33c1d0a3a6fe3d54d3eb876ac0b336d9dea Change-Id: I6c67404d4ff0bc83cfac83d786bc6e66d221a84a Reviewed-on: http://review.gluster.com/3422 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mount')
-rw-r--r--xlators/mount/fuse/src/fuse-resolve.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/mount/fuse/src/fuse-resolve.c b/xlators/mount/fuse/src/fuse-resolve.c
index d7446a71153..bd27af4d25c 100644
--- a/xlators/mount/fuse/src/fuse-resolve.c
+++ b/xlators/mount/fuse/src/fuse-resolve.c
@@ -239,12 +239,6 @@ fuse_resolve_parent_simple (fuse_state_t *state)
/* no graph switches since */
loc->parent = inode_ref (parent);
loc->inode = inode_grep (state->itable, parent, loc->name);
-
- if (loc->inode == NULL) {
- /* non decisive result - entry missing */
- return -1;
- }
-
/* decisive result - resolution success */
return 0;
}