diff options
Diffstat (limited to 'fatfs/dir.c')
-rw-r--r-- | fatfs/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fatfs/dir.c b/fatfs/dir.c index 5a38c63a..9eea74c1 100644 --- a/fatfs/dir.c +++ b/fatfs/dir.c @@ -342,7 +342,7 @@ diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type, /* Here below are the spec dotdot cases. */ else if (type == RENAME || type == REMOVE) - np = ifind (inum); + np = diskfs_cached_ifind (inum); else if (type == LOOKUP) { @@ -395,7 +395,7 @@ diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type, diskfs_nput (np); } else if (type == RENAME || type == REMOVE) - /* We just did ifind to get np; that allocates + /* We just did diskfs_cached_ifind to get np; that allocates no new references, so we don't have anything to do. */ ; else if (type == LOOKUP) @@ -732,7 +732,7 @@ diskfs_dirrewrite_hard (struct node *dp, struct node *np, struct dirstat *ds) assert (err != EINVAL); /* Lookup the node, we already have a reference. */ - oldnp = ifind (inode); + oldnp = diskfs_cached_ifind (inode); assert (ds->type == RENAME); assert (ds->stat == HERE_TIS); |