summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/protocol/server/src/server-resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/protocol/server/src/server-resolve.c b/xlators/protocol/server/src/server-resolve.c
index e7c1cc85fd5..8489bc4142d 100644
--- a/xlators/protocol/server/src/server-resolve.c
+++ b/xlators/protocol/server/src/server-resolve.c
@@ -150,9 +150,9 @@ resolve_deep_continue (call_frame_t *frame)
resolve->op_ret = 0;
resolve->op_errno = 0;
- if (resolve->pargfid)
+ if (!uuid_is_null (resolve->pargfid))
ret = resolve_entry_simple (frame);
- else if (resolve->gfid)
+ else if (!uuid_is_null (resolve->gfid))
ret = resolve_inode_simple (frame);
else if (resolve->path)
ret = resolve_path_simple (frame);