From owner-cvs-src@FreeBSD.ORG Wed Jan 3 20:19:02 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED55116A506; Wed, 3 Jan 2007 20:19:02 +0000 (UTC) (envelope-from mohans@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C641013C457; Wed, 3 Jan 2007 20:19:02 +0000 (UTC) (envelope-from mohans@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l03KJ2Bs058553; Wed, 3 Jan 2007 20:19:02 GMT (envelope-from mohans@repoman.freebsd.org) Received: (from mohans@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l03KJ2Zg058552; Wed, 3 Jan 2007 20:19:02 GMT (envelope-from mohans) Message-Id: <200701032019.l03KJ2Zg058552@repoman.freebsd.org> From: Mohan Srinivasan Date: Wed, 3 Jan 2007 20:19:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/nfsclient nfs_node.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 20:19:03 -0000 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