[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5] src/sys
Module Name: src
Committed By: snj
Date: Sun Nov 8 22:49:06 UTC 2009
src/sys/kern [netbsd-5]: vfs_subr.c
src/sys/ufs/ufs [netbsd-5]: ufs_ihash.c
Pull up following revision(s) (requested by bouyer in ticket #1129):
sys/kern/vfs_subr.c: revision 1.386
sys/ufs/ufs/ufs_ihash.c: revision 1.28
getcleanvnode(): don't vclean() the vnode if it has gained another
reference while we were getting the v_interlock.
vget(): attempt prevent it from returning a clean vnode:
if the vnode is being inactivated (by vrelel()), wait for
vrelel() to complete (or return EBUSY if we can't wait), and return
ENOENT if the vnode has been vclean'ed by vrelel()
Fix kern/41147 in a better way, hopefully fix other related race conditions.
To generate a diff of this commit:
cvs rdiff -u -r1.357.4.5 -r1.357.4.6 src/sys/kern/vfs_subr.c
cvs rdiff -u -r126.96.36.199 -r188.8.131.52 src/sys/ufs/ufs/ufs_ihash.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |