Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/chs-ubc2]: src/sys/ufs/ffs avoid creating pages beyond EOF.
details: https://anonhg.NetBSD.org/src/rev/8d49fca6d13c
branches: chs-ubc2
changeset: 471388:8d49fca6d13c
user: chs <chs%NetBSD.org@localhost>
date: Tue Jul 06 14:52:08 1999 +0000
description:
avoid creating pages beyond EOF.
diffstat:
sys/ufs/ffs/ffs_balloc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3a66a2bfed97 -r 8d49fca6d13c sys/ufs/ffs/ffs_balloc.c
--- a/sys/ufs/ffs/ffs_balloc.c Sun Jul 04 06:46:16 1999 +0000
+++ b/sys/ufs/ffs/ffs_balloc.c Tue Jul 06 14:52:08 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_balloc.c,v 1.14.4.2 1999/07/04 01:50:25 chs Exp $ */
+/* $NetBSD: ffs_balloc.c,v 1.14.4.3 1999/07/06 14:52:08 chs Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -216,7 +216,7 @@
if (vp->v_type == VREG) {
uvm_vnp_zerorange(vp,
lblktosize(fs, lbn) +
- osize, nsize);
+ osize, nsize - osize);
}
}
} else {
Home |
Main Index |
Thread Index |
Old Index