summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-14 01:15:16 +0000
committerMiles Bader <miles@gnu.org>1997-02-14 01:15:16 +0000
commit7e5bb9ae9d1dde97480b6f37b3425601e8334bea (patch)
treec05038715e47d12daa8c33dc3ada11a217e0b7ef
parent2fcb4e717b69343042071da50de88fc2017bc398 (diff)
(diskfs_init_dir):
Don't pass depth args to diskfs_lookup.
-rw-r--r--libdiskfs/dir-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-init.c b/libdiskfs/dir-init.c
index 286f4848..2ba5d1a1 100644
--- a/libdiskfs/dir-init.c
+++ b/libdiskfs/dir-init.c
@@ -42,7 +42,7 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred)
dp->dn_stat.st_nlink++; /* for `.' */
dp->dn_set_ctime = 1;
- err = diskfs_lookup (dp, ".", CREATE, &foo, ds, &lookupcred, 1, 0);
+ err = diskfs_lookup (dp, ".", CREATE, &foo, ds, &lookupcred);
assert (err == ENOENT);
err = diskfs_direnter (dp, ".", dp, ds, cred);
if (err)
@@ -54,7 +54,7 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred)
pdp->dn_stat.st_nlink++; /* for `..' */
pdp->dn_set_ctime = 1;
- err = diskfs_lookup (dp, "..", CREATE, &foo, ds, &lookupcred, 1, 0);
+ err = diskfs_lookup (dp, "..", CREATE, &foo, ds, &lookupcred);
assert (err == ENOENT);
err = diskfs_direnter (dp, "..", pdp, ds, cred);
if (err)