From owner-cvs-all@FreeBSD.ORG Mon Mar 28 09:29:59 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A448216A4CE; Mon, 28 Mar 2005 09:29:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2631C43D46; Mon, 28 Mar 2005 09:29:59 +0000 (GMT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2S9TxY8025549; Mon, 28 Mar 2005 09:29:59 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2S9TxO4025548; Mon, 28 Mar 2005 09:29:59 GMT (envelope-from jeff) Message-Id: <200503280929.j2S9TxO4025548@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 28 Mar 2005 09:29:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsclient nfs_vnops.c src/sys/nfs4client nfs4_vnops.c src/sys/fs/smbfs smbfs_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 09:29:59 -0000 jeff 2005-03-28 09:29:58 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vnops.c sys/nfs4client nfs4_vnops.c sys/fs/smbfs smbfs_vnops.c Log: - We no longer have to bother with PDIRUNLOCK, lookup() handles it for us. - Network filesystems are written with a special idiom that checks the cache first, and may even unlock dvp before discovering that a network round-trip is required to resolve the name. I believe dvp is prevented from being recycled even in the forced unmount case by the shared lock on the mount point. If not, this code should grow checks for VI_DOOMED after it relocks dvp or it will access NULL v_data fields. Sponsored by: Isilon Systems, Inc. Revision Changes Path 1.57 +21 -54 src/sys/fs/smbfs/smbfs_vnops.c 1.26 +10 -47 src/sys/nfs4client/nfs4_vnops.c 1.254 +10 -45 src/sys/nfsclient/nfs_vnops.c