Module Name: src Committed By: hannken Date: Wed Jul 21 09:01:36 UTC 2010
Modified Files: src/share/man/man9: namecache.9 src/sys/kern: vfs_cache.c vfs_getcwd.c Log Message: Using cache_revlookup() leads to vnode races as it returns an unreferenced vnode that may disappear before the caller has a chance to reference it. Reference the vnode while the name cache is locked. No objections on tech-kern. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/share/man/man9/namecache.9 cvs rdiff -u -r1.85 -r1.86 src/sys/kern/vfs_cache.c cvs rdiff -u -r1.45 -r1.46 src/sys/kern/vfs_getcwd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.