Subject: CVS commit: syssrc/sys/ufs/ufs
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 05/14/2002 20:37:53
Module Name:	syssrc
Committed By:	mycroft
Date:		Tue May 14 17:37:53 UTC 2002

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

Log Message:
In ufs_mkdir(), write the data block *before* updating the inode with the
block pointer, to prevent "DIRECTORY CORRUPTED" errors from fsck(8).
Note: The behavior in the softdep case is unchanged, but needs to be fixed.


To generate a diff of this commit:
cvs rdiff -r1.85 -r1.86 syssrc/sys/ufs/ufs/ufs_vnops.c

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