summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src/fuse-resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount/fuse/src/fuse-resolve.c')
-rw-r--r--xlators/mount/fuse/src/fuse-resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-resolve.c b/xlators/mount/fuse/src/fuse-resolve.c
index 0835d5d1a..e89b44231 100644
--- a/xlators/mount/fuse/src/fuse-resolve.c
+++ b/xlators/mount/fuse/src/fuse-resolve.c
@@ -410,7 +410,7 @@ gf_resolve_fd (fuse_state_t *state)
}
ret = inode_path (fd->inode, 0, &path);
- if (!ret || !path)
+ if (ret <= 0)
gf_log ("", GF_LOG_WARNING,
"failed to do inode-path on fd %d %s", ret, path);