From owner-svn-src-head@FreeBSD.ORG Tue Mar 10 14:35:22 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 520F9106566B; Tue, 10 Mar 2009 14:35:22 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 41BA08FC17; Tue, 10 Mar 2009 14:35:22 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2AEZMti064724; Tue, 10 Mar 2009 14:35:22 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2AEZMGB064723; Tue, 10 Mar 2009 14:35:22 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <200903101435.n2AEZMGB064723@svn.freebsd.org> From: Konstantin Belousov Date: Tue, 10 Mar 2009 14:35:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189622 - head/sys/fs/nullfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 14:35:22 -0000 Author: kib Date: Tue Mar 10 14:35:21 2009 New Revision: 189622 URL: http://svn.freebsd.org/changeset/base/189622 Log: Do not use bypass for vop_vptocnp() from nullfs, call standard implementation instead. The bypass does not assume that returned vnode is only held. Reported by: Paul B. Mahol , pluknet Reviewed by: jhb Tested by: pho, pluknet Modified: head/sys/fs/nullfs/null_vnops.c Modified: head/sys/fs/nullfs/null_vnops.c ============================================================================== --- head/sys/fs/nullfs/null_vnops.c Tue Mar 10 14:29:34 2009 (r189621) +++ head/sys/fs/nullfs/null_vnops.c Tue Mar 10 14:35:21 2009 (r189622) @@ -742,5 +742,6 @@ struct vop_vector null_vnodeops = { .vop_setattr = null_setattr, .vop_strategy = VOP_EOPNOTSUPP, .vop_unlock = null_unlock, + .vop_vptocnp = vop_stdvptocnp, .vop_vptofh = null_vptofh, };