Module Name:    src
Committed By:   rmind
Date:           Sun Jan 30 07:04:49 UTC 2011

Modified Files:
        src/share/man/man9: vnsubr.9

Log Message:
vn_lock: describe flags, remove reference to lockmgr.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man9/vnsubr.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/vnsubr.9
diff -u src/share/man/man9/vnsubr.9:1.40 src/share/man/man9/vnsubr.9:1.41
--- src/share/man/man9/vnsubr.9:1.40	Thu Dec  2 12:54:13 2010
+++ src/share/man/man9/vnsubr.9	Sun Jan 30 07:04:48 2011
@@ -1,4 +1,4 @@
-.\"     $NetBSD: vnsubr.9,v 1.40 2010/12/02 12:54:13 wiz Exp $
+.\"     $NetBSD: vnsubr.9,v 1.41 2011/01/30 07:04:48 rmind Exp $
 .\"
 .\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 18, 2010
+.Dd January 30, 2010
 .Dt VNSUBR 9
 .Os
 .Sh NAME
@@ -127,9 +127,20 @@
 .Fa vp .
 The argument
 .Fa flags
-specifies the
-.Xr lockmgr 9
-flags used to lock the vnode.
+specifies the flags used to lock the vnode.
+There are the following flags:
+.Pp
+.Bl -tag -offset indent -width LK_EXCLUSIVE -compact
+.It LK_SHARED
+shared lock
+.It LK_EXCLUSIVE
+exclusive lock
+.It LK_NOWAIT
+do not sleep to await lock
+.It LK_RETRY
+retry lock operation until locked
+.El
+.Pp
 If the operation is successful zero is returned, otherwise an
 appropriate error code is returned.
 The vnode interlock

Reply via email to