summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/inode.c')
-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 dbe421c5053..bd068439889 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);