Subject: CVS commit: syssrc
To: None <>
From: Konrad Schroder <>
List: source-changes
Date: 12/14/1999 23:10:35
Module Name:	syssrc
Committed By:	perseant
Date:		Wed Dec 15 07:10:34 UTC 1999

Modified Files:
	syssrc/sys/kern: vfs_subr.c
	syssrc/sys/ufs/lfs: lfs.h lfs_bio.c

Log Message:
In lfs_bwrite, don't mark buffers dirty if lfs is mounted read-only.
(Previously buffers could be marked dirty by the cleaner, and possibly by
other means.)

Also check for softdep mount in vfs_shutdown before trying to bawrite
buffers, since other filesystems don't need it and lfs doesn't bawrite.
(This fragment reviewed by fvdl.)

Partially addresses PR#8964.

To generate a diff of this commit:
cvs rdiff -r1.115 -r1.116 syssrc/sys/kern/vfs_subr.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/ufs/lfs/lfs.h
cvs rdiff -r1.15 -r1.16 syssrc/sys/ufs/lfs/lfs_bio.c

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