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
commit8a42898a06d44fcf29899b1341404eb14767cf60 (patch)
tree300d4bf44bb53c960f977e297a66c105966402d7 /ufs
parentfbfb38b6e5f7aff900b2303cf0d0c727665a2774 (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;