From owner-svn-src-head@FreeBSD.ORG Sun Nov 2 10:33:58 2008 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 31F5B106564A; Sun, 2 Nov 2008 10:33:58 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 205408FC20; Sun, 2 Nov 2008 10:33:58 +0000 (UTC) (envelope-from attilio@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 mA2AXwoW036566; Sun, 2 Nov 2008 10:33:58 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA2AXwH4036565; Sun, 2 Nov 2008 10:33:58 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <200811021033.mA2AXwH4036565@svn.freebsd.org> From: Attilio Rao Date: Sun, 2 Nov 2008 10:33:58 +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: r184556 - head/share/man/man9 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: Sun, 02 Nov 2008 10:33:58 -0000 Author: attilio Date: Sun Nov 2 10:33:57 2008 New Revision: 184556 URL: http://svn.freebsd.org/changeset/base/184556 Log: Reflect changes for the vfs_busy() prototype. Modified: head/share/man/man9/vfs_busy.9 Modified: head/share/man/man9/vfs_busy.9 ============================================================================== --- head/share/man/man9/vfs_busy.9 Sun Nov 2 10:20:18 2008 (r184555) +++ head/share/man/man9/vfs_busy.9 Sun Nov 2 10:33:57 2008 (r184556) @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 29, 2008 +.Dd November 2, 2008 .Dt VFS_BUSY 9 .Os .Sh NAME @@ -36,7 +36,7 @@ .In sys/param.h .In sys/mount.h .Ft int -.Fn vfs_busy "struct mount *mp" "int flags" "struct mtx *interlkp" +.Fn vfs_busy "struct mount *mp" "int flags" .Sh DESCRIPTION The .Fn vfs_busy @@ -56,33 +56,22 @@ flag is set. .Pp Its arguments are: -.Bl -tag -width ".Fa interlkp" +.Bl -tag -width ".Fa flags" .It Fa mp The mount point to busy. .It Fa flags Flags controlling how .Fn vfs_busy should act. -.Bl -tag -width ".Dv LK_NOWAIT" -.It Dv LK_NOWAIT +.Bl -tag -width ".Dv MBF_MNTLSTLOCK" +.It Dv MBF_NOWAIT do not sleep if .Dv MNTK_UNMOUNT is set. +.It Dv MBF_MNTLSTLOCK +drop the mountlist_mtx in the critical path. .El -.It Fa interlkp -The interlock mutex for -.Fa mp->mount_lock . -If there is any chance -the mount point is being unmounted and -.Dv LK_NOWAIT -is not set then -interlock must be valid locked mutex. .El -.Sh LOCKS -If -.Fa interlkp -is a valid pointer it must be locked on entry, -and it will not be unlocked even in the case of an error. .Sh RETURN VALUES A 0 value is returned on success. If the mount point is being