summaryrefslogtreecommitdiff
path: root/tmpfs
diff options
context:
space:
mode:
Diffstat (limited to 'tmpfs')
-rw-r--r--tmpfs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmpfs/dir.c b/tmpfs/dir.c
index 8dea019a..411f43cc 100644
--- a/tmpfs/dir.c
+++ b/tmpfs/dir.c
@@ -198,7 +198,7 @@ diskfs_lookup_hard (struct node *dp,
else
{
mutex_unlock (&dp->lock);
- err = diskfs_cached_lookup ((int) dddn, np);
+ err = diskfs_cached_lookup ((int) dddn, dp, np);
if (type == (LOOKUP|SPEC_DOTDOT))
diskfs_nrele (dp);
@@ -220,7 +220,7 @@ diskfs_lookup_hard (struct node *dp,
ds->prevp = prevp;
if (np)
- return diskfs_cached_lookup ((ino_t) d->dn, dp, np);
+ return diskfs_cached_lookup ((ino_t) d->dn, np);
else
return 0;
}