summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-02-23 14:42:40 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-02-23 14:42:40 +0000
commit96e821437735f981862bb50be47e2c291a615907 (patch)
tree163b1a3c8a068ad3cf4e4e6e3ba48d03a79eec2c /sys/ufs/ffs
parent51008faf3223ac4bc87038c7550574709c459445 (diff)
Remove the clustering fields from the vnodes and place them in the
file system inode instead
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_inode.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c
index 6607642eae3..1eb8f2e81ca 100644
--- a/sys/ufs/ffs/ffs_inode.c
+++ b/sys/ufs/ffs/ffs_inode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_inode.c,v 1.17 2001/02/21 23:24:31 csapuntz Exp $ */
+/* $OpenBSD: ffs_inode.c,v 1.18 2001/02/23 14:42:39 csapuntz Exp $ */
/* $NetBSD: ffs_inode.c,v 1.10 1996/05/11 18:27:19 mycroft Exp $ */
/*
@@ -208,7 +208,9 @@ ffs_truncate(v)
#else
vnode_pager_setsize(ovp, (u_long)length);
#endif
- ovp->v_lasta = ovp->v_clen = ovp->v_cstart = ovp->v_lastw = 0;
+ oip->i_ci.ci_lasta = oip->i_ci.ci_clen
+ = oip->i_ci.ci_cstart = oip->i_ci.ci_lastw = 0;
+
if (DOINGSOFTDEP(ovp)) {
if (length > 0 || softdep_slowdown(ovp)) {
/*