cvs commit: src/sys/nfsclient nfs_node.c
Mohan Srinivasan
mohans at FreeBSD.org
Wed Jan 3 12:19:03 PST 2007
mohans 2007-01-03 20:19:02 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/nfsclient nfs_node.c
Log:
MFC 3 fixes from -current. All having to do with the case where the same
filehandle is looked up by 2 or more processes.
- Don't vrele() the losing vnode, as vfs_hash_insert() vput()'s it.
- Initialize mutexes on the losing nfsnode (as these get destroyed in the
nfsnode reclaim path).
- Move the initialization of the filehandle to before the vfs_insert, to
close some races which could result in multiple vnodes for the same
filehandle being inserted into the hash.
Revision Changes Path
1.76.2.4 +8 -9 src/sys/nfsclient/nfs_node.c
More information about the cvs-src
mailing list