summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/server/src/server-resolve.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-resolve.c b/xlators/protocol/server/src/server-resolve.c
index c4e5a9c57d7..2eb95e6a491 100644
--- a/xlators/protocol/server/src/server-resolve.c
+++ b/xlators/protocol/server/src/server-resolve.c
@@ -285,7 +285,8 @@ resolve_path_simple (call_frame_t *frame)
goto out;
}
- if (!components[ino_idx].inode && resolve->type == RESOLVE_MUST) {
+ if (!components[ino_idx].inode &&
+ (resolve->type == RESOLVE_MUST || resolve->type == RESOLVE_EXACT)) {
resolve->op_ret = -1;
resolve->op_errno = ENOENT;
goto out;