diff options
author | Miles Bader <miles@gnu.org> | 1997-02-14 01:14:56 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-14 01:14:56 +0000 |
commit | 2fcb4e717b69343042071da50de88fc2017bc398 (patch) | |
tree | c2298e480cb4875900b99e1f26ce272f7c6b2c9c | |
parent | f1e64f8b91cbe01955946ef146c5bc775618d8a4 (diff) |
(diskfs_clear_directory):
Don't pass depth args to diskfs_lookup.
-rw-r--r-- | libdiskfs/dir-clear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-clear.c b/libdiskfs/dir-clear.c index 0aaae1ed..7cf32358 100644 --- a/libdiskfs/dir-clear.c +++ b/libdiskfs/dir-clear.c @@ -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, 1, 0); + err = diskfs_lookup (dp, ".", REMOVE, &np, ds, cred); 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, 1, 0); + err = diskfs_lookup (dp, "..", REMOVE | SPEC_DOTDOT, &np, ds, cred); assert (err != ENOENT); if (!err) { |