diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-09 20:46:42 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-09 20:46:42 +0000 |
commit | 8f37efc92fb4d3ee85fc3945210a5418e076b1d0 (patch) | |
tree | 1fea7e4b951c9a104529a5d12ba07e7391153da2 /libdiskfs | |
parent | 324ded65e570d64d2ddef8b855c6ea29094b12f1 (diff) |
Formerly dir-clear.c.~4~
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-clear.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libdiskfs/dir-clear.c b/libdiskfs/dir-clear.c index 73cada6a..480ef0c3 100644 --- a/libdiskfs/dir-clear.c +++ b/libdiskfs/dir-clear.c @@ -43,9 +43,7 @@ diskfs_clear_directory (struct node *dp, dp->dn_set_ctime = 1; /* Find and remove the `..' entry. */ - err = diskfs_checkdirmod (dp, pdp, cred); - if (!err) - err = diskfs_lookup (dp, "..", REMOVE | SPEC_DOTDOT, 0, ds, cred); + err = diskfs_lookup (dp, "..", REMOVE | SPEC_DOTDOT, 0, ds, cred); assert (err != ENOENT); if (!err) err = diskfs_dirremove (dp, ds); |