Module Name: src
Committed By: elad
Date: Sun May 17 14:46:33 UTC 2009
Modified Files:
src/share/man/man9: file.9
Log Message:
Undocument FILE_LOCK(), FILE_UNLOCK() -- heh.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man9/file.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/file.9
diff -u src/share/man/man9/file.9:1.12 src/share/man/man9/file.9:1.13
--- src/share/man/man9/file.9:1.12 Sun May 10 14:33:54 2009
+++ src/share/man/man9/file.9 Sun May 17 14:46:33 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: file.9,v 1.12 2009/05/10 14:33:54 elad Exp $
+.\" $NetBSD: file.9,v 1.13 2009/05/17 14:46:33 elad Exp $
.\"
.\" Copyright (c) 2002, 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 May 10, 2009
+.Dd May 17, 2009
.Dt FILE 9
.Os
.Sh NAME
@@ -37,9 +37,7 @@
.Nm FILE_IS_USABLE ,
.Nm FILE_USE ,
.Nm FILE_UNUSE ,
-.Nm FILE_SET_MATURE ,
-.Nm FILE_LOCK ,
-.Nm FILE_UNLOCK
+.Nm FILE_SET_MATURE
.Nd operations on file entries
.Sh SYNOPSIS
.In sys/file.h
@@ -55,10 +53,6 @@
.Fn FILE_UNUSE "struct file *fp" "struct lwp *l"
.Ft void
.Fn FILE_SET_MATURE "struct file *fp"
-.Ft void
-.Fn FILE_LOCK "struct file *fp"
-.Ft void
-.Fn FILE_UNLOCK "struct file *fp"
.Sh DESCRIPTION
The file descriptor table of a process references a file entry for
each file used by the kernel.
@@ -247,12 +241,6 @@
Mark the file entry as being fully constructed (mature) by clearing
the FIF_LARVAL flag in
.Em f_iflags .
-.It Fn FILE_LOCK "fp"
-Locks the file entry
-.Ar fp .
-.It Fn FILE_UNLOCK "fp"
-Unlocks the file entry
-.Ar fp .
.El
.Sh CODE REFERENCES
This section describes places within the