Subject: CVS commit: syssrc
To: None <>
From: Konrad Schroder <>
List: source-changes
Date: 03/10/2000 21:00:20
Module Name:	syssrc
Committed By:	perseant
Date:		Sat Mar 11 05:00:20 UTC 2000

Modified Files:
	syssrc/sys/kern: vfs_subr.c
	syssrc/sys/ufs/ffs: ffs_vnops.c

Log Message:
Move vinvalbuf's check for dirty blocks into ffs_fsync, to ensure that
mode and ownership bits are flushed to disk before the vnode is

The check, introduced in the softdep merge, assumes that if no blocks
are dirty, no file data *or metadata* needs to be flushed to disk.  This
is true of ffs, but is not true of lfs, and may not be true of other

Tested by myself and Bill Squier <>.

To generate a diff of this commit:
cvs rdiff -r1.118 -r1.119 syssrc/sys/kern/vfs_subr.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/ufs/ffs/ffs_vnops.c

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