From 833b51746fc0c60ee05569912b130aed9264264a Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 6 Feb 1997 08:25:56 +0000 Subject: (diskfs_init_dir): Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. --- libdiskfs/dir-init.c | 6 +++--- 1 file 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) -- cgit v1.2.3