summaryrefslogtreecommitdiff
path: root/ufs/dir.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-03 21:08:58 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-03 21:08:58 +0000
commitf0b0bee875bae481afa9e722f0ef8be7d477310e (patch)
treeb9e0c1aebd242c84a68e62c28ea754dff980eccf /ufs/dir.c
parentf2cf71cee04072ae1729c6c90526f7642e3b1330 (diff)
(diskfs_lookup_hard):
Diffstat (limited to 'ufs/dir.c')
-rw-r--r--ufs/dir.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ufs/dir.c b/ufs/dir.c
index 0a109c0c..136b470f 100644
--- a/ufs/dir.c
+++ b/ufs/dir.c
@@ -196,7 +196,7 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type,
goto out;
}
- /* We can't just do iget, because we would then deadlock.
+ /* We can't just do diskfs_cached_lookup, because we would then deadlock.
So we do this. Ick. */
else if (retry_dotdot)
{
@@ -207,7 +207,7 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type,
try *again*. */
diskfs_nput (np);
mutex_unlock (&dp->lock);
- err = iget (inum, &np);
+ err = diskfs_cached_lookup (inum, &np);
mutex_lock (&dp->lock);
if (err)
goto out;
@@ -222,7 +222,7 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type,
repeat the directory scan to see if this is still
right. */
mutex_unlock (&dp->lock);
- err = iget (inum, &np);
+ err = diskfs_cached_lookup (inum, &np);
mutex_lock (&dp->lock);
if (err)
goto out;
@@ -237,7 +237,7 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type,
else if (type == LOOKUP)
{
diskfs_nput (dp);
- err = iget (inum, &np);
+ err = diskfs_cached_lookup (inum, &np);
if (err)
goto out;
}
@@ -289,7 +289,7 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type,
no new references, so we don't have anything to do */
;
else if (type == LOOKUP)
- /* We did iget */
+ /* We did diskfs_cached_lookup */
diskfs_nput (np);
}
else