diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-10-25 20:15:10 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-10-25 20:15:10 +0000 |
commit | 9878dd82378318918586d723ee713f31b5a4ef65 (patch) | |
tree | 0b3fcf482b74db705cb247a24156f11490436d57 | |
parent | c5eb14d3a937336054db973984d72fe5a59697a9 (diff) |
entered into RCS
-rw-r--r-- | libdiskfs/dir-clear.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/dir-clear.c b/libdiskfs/dir-clear.c index 480ef0c3..dc92923f 100644 --- a/libdiskfs/dir-clear.c +++ b/libdiskfs/dir-clear.c @@ -56,5 +56,7 @@ diskfs_clear_directory (struct node *dp, pdp->dn_stat.st_nlink--; pdp->dn_set_ctime = 1; + diskfs_truncate (dp, 0); + return err; } |