From 3d9d4928336d763b278c5ddbae58b3c54ab3dcd4 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 6 Feb 1997 08:25:40 +0000 Subject: (diskfs_clear_directory): Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. --- libdiskfs/dir-clear.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/dir-clear.c b/libdiskfs/dir-clear.c index 4cb300e2..0aaae1ed 100644 --- a/libdiskfs/dir-clear.c +++ b/libdiskfs/dir-clear.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 @@ -30,7 +30,7 @@ diskfs_clear_directory (struct node *dp, struct node *np; /* Find and remove the `.' entry. */ - err = diskfs_lookup (dp, ".", REMOVE, &np, ds, cred); + err = diskfs_lookup (dp, ".", REMOVE, &np, ds, cred, 1, 0); assert (err != ENOENT); if (!err) { @@ -48,7 +48,7 @@ diskfs_clear_directory (struct node *dp, dp->dn_set_ctime = 1; /* Find and remove the `..' entry. */ - err = diskfs_lookup (dp, "..", REMOVE | SPEC_DOTDOT, &np, ds, cred); + err = diskfs_lookup (dp, "..", REMOVE | SPEC_DOTDOT, &np, ds, cred, 1, 0); assert (err != ENOENT); if (!err) { -- cgit v1.2.3