aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2014-07-27 20:47:06 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2014-07-27 20:47:06 +0000
commite4bf26280fc656cd65da8728a465b876927a7e30 (patch)
treec430bf1b2fd447b65d3a088b029d03da996c5214
parent3fdeac5b5aff3305b1f943491ad5ec88b78a982d (diff)
downloadsrc-e4bf26280fc656cd65da8728a465b876927a7e30.tar.gz
src-e4bf26280fc656cd65da8728a465b876927a7e30.zip
Correct the locking statement.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
Notes
Notes: svn path=/head/; revision=269159
-rw-r--r--share/man/man9/VOP_INACTIVE.918
1 files changed, 7 insertions, 11 deletions
diff --git a/share/man/man9/VOP_INACTIVE.9 b/share/man/man9/VOP_INACTIVE.9
index 2f1e4ed60bd6..837826b0e067 100644
--- a/share/man/man9/VOP_INACTIVE.9
+++ b/share/man/man9/VOP_INACTIVE.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 24, 1996
+.Dd July 27, 2014
.Dt VOP_INACTIVE 9
.Os
.Sh NAME
@@ -63,17 +63,13 @@ is called when a vnode is being reused for a different file system.
Any file system specific resources associated with the vnode should be
freed.
.Sh LOCKS
-For VOP_INACTIVE, the
-.Fa vp
-will be locked on entry.
-Your VOP_INACTIVE code
-must unlock the
-.Fa vp
-prior to returning.
-.Pp
-For VOP_RECLAIM, the
+For both
+.Fn VOP_INACTIVE
+and
+.Fn VOP_RECLAIM ,
+the
.Fa vp
-will not be locked on entry and should be left unlocked on return.
+will be locked on entry, and must be left locked on return.
.Sh SEE ALSO
.Xr vnode 9
.Sh AUTHORS