Subject: CVS commit: syssrc/sys/ufs/ufs
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 10/10/2001 09:37:56
Module Name:	syssrc
Committed By:	chs
Date:		Wed Oct 10 06:37:54 UTC 2001

Modified Files:
	syssrc/sys/ufs/ufs: ufs_inode.c

Log Message:
in ufs_balloc_range(), if we extend a fragment and need to write the
fragment synchronously, update the vnode's size before doing the flush.
otherwise we might only write part of the data and cause softdep's
accounting to get out of sync.  fixes PR 14201.
many thanks to enami for figuring out what was going on.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 syssrc/sys/ufs/ufs/ufs_inode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.