Subject: CVS commit: src/sys/fs/tmpfs
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 11/02/2005 05:39:16
Module Name:	src
Committed By:	dyoung
Date:		Wed Nov  2 05:39:16 UTC 2005

Modified Files:
	src/sys/fs/tmpfs: tmpfs_specops.h

Log Message:
Bug fix: change tmpfs_spec_bwrite from tmpfs_bwrite to vn_bwrite,
per yamt's suggestion.  Previously, if /dev/ was mounted on a tmpfs,
block device buffers were never flushed to disk.  Trying to unmount
a dirty filesystem (umount /dev/wd0e, say) caused an endless stream
of vflushbuf warnings, because tmpfs_bwrite was not flushing buffers.
The fix told to me by yamt solves the problem.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/fs/tmpfs/tmpfs_specops.h

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