From d65a0f9f1b31cb688719d92a257a4d8e70ae83ce Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Wed, 23 May 2012 12:03:51 -0700 Subject: 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 Reviewed-by: Anand Avati --- xlators/mount/fuse/src/fuse-resolve.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'xlators/mount/fuse/src/fuse-resolve.c') 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; } -- cgit