diff options
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient-dentry.c')
-rw-r--r-- | libglusterfsclient/src/libglusterfsclient-dentry.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient-dentry.c b/libglusterfsclient/src/libglusterfsclient-dentry.c index 5c8057874..c030787cc 100644 --- a/libglusterfsclient/src/libglusterfsclient-dentry.c +++ b/libglusterfsclient/src/libglusterfsclient-dentry.c @@ -348,12 +348,6 @@ __do_path_resolve (loc_t *loc, libglusterfs_client_ctx_t *ctx, op_ret = libgf_client_lookup (ctx, &new_loc, NULL, NULL, 0); if (op_ret == -1) { - /* parent is resolved, file referred by the - path may not be present on the storage*/ - if (strcmp (loc->path, "/") != 0) { - op_ret = 0; - } - libgf_client_loc_wipe (&new_loc); goto out; } |