summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c
index dbe421c50..bd0684398 100644
--- a/libglusterfs/src/inode.c
+++ b/libglusterfs/src/inode.c
@@ -1086,7 +1086,7 @@ inode_from_path (inode_table_t *itable, const char *path)
inode = inode_ref (parent);
while (component) {
- curr = inode_search (itable, parent->ino, component);
+ curr = inode_grep (itable, parent, component);
if (curr == NULL) {
component = strtok_r (NULL, "/", &strtokptr);