Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   bouyer
Date:           Thu Nov  5 08:18:02 UTC 2009

Modified Files:
        src/sys/kern: vfs_subr.c
        src/sys/ufs/ufs: ufs_ihash.c

Log Message:
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.385 -r1.386 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.27 -r1.28 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.



Home | Main Index | Thread Index | Old Index