diff options
author | Miles Bader <miles@gnu.org> | 1997-02-06 08:25:40 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-06 08:25:40 +0000 |
commit | 3d9d4928336d763b278c5ddbae58b3c54ab3dcd4 (patch) | |
tree | 75f03645a64fb96d487289506e6aed46584df49e /libdiskfs | |
parent | c63405bfabd0072591bbe825a29dd24d77a8717c (diff) |
(diskfs_clear_directory):
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-clear.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |