summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount/fuse/src')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 1ad774e1b..65a479aed 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -426,7 +426,7 @@ fuse_lookup_resume (fuse_state_t *state)
/* parent was resolved, entry could not, may be a missing gfid?
* Hence try to do a regular lookup
*/
- if ((state->resolve.op_ret == -2)
+ if ((state->resolve.op_ret == -1)
&& (state->resolve.op_errno == ENODATA)) {
state->resolve.op_ret = 0;
}