diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-08-24 14:15:32 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-09-06 07:43:29 -0700 |
commit | cfbe7823b238171c0e63fa88c894f4a065ee7abd (patch) | |
tree | 1fba2a87ae32f1abeb9b4aa571bafe7740d37ade /xlators/mount | |
parent | be1d21a8795b215035f546c8da83df205afeb449 (diff) |
mount/fuse: If gfid is not present assign gfid
Change-Id: I2fb8c607694eb8bbe5ec0f67d8db794066a89ca4
BUG: 821138
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.org/3854
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-bridge.c | 2 |
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 1ad774e1b45..65a479aed8b 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; } |