diff options
author | Miles Bader <miles@gnu.org> | 1997-02-06 08:25:56 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-06 08:25:56 +0000 |
commit | 833b51746fc0c60ee05569912b130aed9264264a (patch) | |
tree | 9ae3fa991f2a154f6ba8a444341420d79ba86715 /libdiskfs | |
parent | 3d9d4928336d763b278c5ddbae58b3c54ab3dcd4 (diff) |
(diskfs_init_dir):
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-init.c | 6 |
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) |