summaryrefslogtreecommitdiff
path: root/ufs/sizes.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufs/sizes.c')
-rw-r--r--ufs/sizes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ufs/sizes.c b/ufs/sizes.c
index 39717384..a0b090d3 100644
--- a/ufs/sizes.c
+++ b/ufs/sizes.c
@@ -63,6 +63,7 @@ diskfs_truncate (struct node *np,
if (err)
return err;
bzero ((char *)di->di_shortlink + length, np->dn_stat.st_size - length);
+ record_poke (di, sizeof (struct dinode));
diskfs_end_catch_exception ();
np->dn_stat.st_size = length;
np->dn_set_ctime = np->dn_set_mtime = 1;