Date: Wed, 3 Jan 2007 20:19:02 +0000 (UTC) From: Mohan Srinivasan <mohans@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_node.c Message-ID: <200701032019.l03KJ2Zg058552@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701032019.l03KJ2Zg058552>