summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-06 16:45:23 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-06 16:45:23 +0000
commit0fefc2a7f86355f09e6b4124c028b639122e2b13 (patch)
tree9614c1ae944bcc7d108a58df81948c81586ad9c4 /ufs
parent6d0c7f745e0f733d1014e6894a0060c7173bfe33 (diff)
(diskfs_truncate): Call record_poke after truncating a kludged
symlink.
Diffstat (limited to 'ufs')
-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;