summaryrefslogtreecommitdiff
path: root/share/man/man9/VOP_LOOKUP.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/VOP_LOOKUP.9')
-rw-r--r--share/man/man9/VOP_LOOKUP.99
1 files changed, 3 insertions, 6 deletions
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index 99cd98a54ca..4085c50cec7 100644
--- a/share/man/man9/VOP_LOOKUP.9
+++ b/share/man/man9/VOP_LOOKUP.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: VOP_LOOKUP.9,v 1.32 2015/12/02 11:03:40 schwarze Exp $
+.\" $OpenBSD: VOP_LOOKUP.9,v 1.33 2016/03/19 12:04:15 natano Exp $
.\"
.\" Copyright (c) 2003 Ted Unangst
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 2 2015 $
+.Dd $Mdocdate: March 19 2016 $
.Dt VOP_LOOKUP 9
.Os
.Sh NAME
@@ -283,7 +283,6 @@
.Ft int
.Fo VOP_UNLOCK
.Fa "struct vnode *vp"
-.Fa "int flags"
.Fa "struct proc *p"
.Fc
.Ft int
@@ -564,7 +563,7 @@ returned.
.Pp
.It Fn VOP_ISLOCKED vp
.It Fn VOP_LOCK vp flags p
-.It Fn VOP_UNLOCK vp flags p
+.It Fn VOP_UNLOCK vp p
.Fn VOP_LOCK
is used internally by
.Xr vn_lock 9
@@ -572,8 +571,6 @@ to lock a vnode.
It should not be used by other file system code.
.Fn VOP_UNLOCK
unlocks a vnode.
-.Fa flags
-should be zero in most cases.
.Fn VOP_ISLOCKED
returns 1 if
.Fa vp