Subject: CVS commit: src/sys
To: None <>
From: YAMAMOTO Takashi <>
List: source-changes
Date: 12/23/2005 15:31:40
Module Name:	src
Committed By:	yamt
Date:		Fri Dec 23 15:31:40 UTC 2005

Modified Files:
	src/sys/kern: vfs_subr.c
	src/sys/sys: vnode.h
	src/sys/ufs/ffs: ffs_alloc.c
	src/sys/ufs/ufs: ufs_inode.c

Log Message:
prevent in-core vnode being freed from getting new references.
otherwise, once the corresponding bit in the inode bitmap is cleared,
an unrelated inode with the same inode number can be allocated and
ufs_ihashget() picks a stale in-core vnode for it.

PR/32301 by Matthias Scheler.

To generate a diff of this commit:
cvs rdiff -r1.256 -r1.257 src/sys/kern/vfs_subr.c
cvs rdiff -r1.147 -r1.148 src/sys/sys/vnode.h
cvs rdiff -r1.89 -r1.90 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -r1.55 -r1.56 src/sys/ufs/ufs/ufs_inode.c

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