Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 02/06/2001 12:58:56
Module Name: syssrc
Committed By: chs
Date: Tue Feb 6 10:58:56 UTC 2001
Modified Files:
syssrc/sys/kern: vfs_subr.c
Log Message:
in vtruncbuf(), pass 0 (meaning everything at or past the start of the range)
instead of the vnode's size to pgo_flush() since there can be pages past EOF.
in the same call, cast "lbn" to voff_t to avoid overflow.
To generate a diff of this commit:
cvs rdiff -r1.144 -r1.145 syssrc/sys/kern/vfs_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.