summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/dir-init.c b/libdiskfs/dir-init.c
index f44c4bec..286f4848 100644
--- a/libdiskfs/dir-init.c
+++ b/libdiskfs/dir-init.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -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);
+ err = diskfs_lookup (dp, ".", CREATE, &foo, ds, &lookupcred, 1, 0);
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);
+ err = diskfs_lookup (dp, "..", CREATE, &foo, ds, &lookupcred, 1, 0);
assert (err == ENOENT);
err = diskfs_direnter (dp, "..", pdp, ds, cred);
if (err)