From owner-cvs-src-old@FreeBSD.ORG Sat Feb 14 20:43:26 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E48A106566C for ; Sat, 14 Feb 2009 20:43:26 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1BA928FC1C for ; Sat, 14 Feb 2009 20:43:26 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1EKhQpi037505 for ; Sat, 14 Feb 2009 20:43:26 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1EKhPOn037504 for cvs-src-old@freebsd.org; Sat, 14 Feb 2009 20:43:25 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200902142043.n1EKhPOn037504@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 14 Feb 2009 20:42:54 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/kern vfs_subr.c src/sys/sys vnode.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 20:43:26 -0000 kib 2009-02-14 20:42:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern vfs_subr.c sys/sys vnode.h Log: SVN rev 188610 on 2009-02-14 20:42:54Z by kib MFC r182364: Introduce the VV_FORCEINSMQ vnode flag. It instructs the insmnque() function to ignore the unmounting and forces insertion of the vnode into the mount vnode list. Change insmntque() to fail when forced unmount is in progress and VV_FORCEINSMQ is not specified. Add an assertion to the insmntque(), requiring the vnode to be exclusively locked for mp-safe filesystems. MFC note: because zfs in stable/7 does not follow the insmntque() protocol, the assertion is commented out. Use the VV_FORCEINSMQ for the creation of the syncvnode. Revision Changes Path 1.707.2.12 +22 -5 src/sys/kern/vfs_subr.c 1.326.2.5 +1 -0 src/sys/sys/vnode.h