Subject: CVS commit: src/sys/ufs/lfs
To: None <source-changes@netbsd.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 03/28/2003 10:03:40
Module Name: src
Committed By: perseant
Date: Fri Mar 28 08:03:40 UTC 2003
Modified Files:
src/sys/ufs/lfs: lfs.h lfs_segment.c lfs_vfsops.c lfs_vnops.c
Log Message:
Add a sleeper count, to prevent the cleaner from panicing the kernel
when the filesystem is unmounted, relocking the Ifile when its lock is
draining. (We can't use vfs_busy() since the process is sleeping for a
good long time.) Clean up / organize lfs.h, while I'm here.
In lfs_update_single, assert that disk addresses are either negative, or
are still positive when converted to int32_t, to prevent recurrence of a
negative/positive block problem.
To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.115 -r1.116 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.111 -r1.112 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.99 -r1.100 src/sys/ufs/lfs/lfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.