summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2017-04-26 02:43:35 +0000
committerBob Beck <beck@cvs.openbsd.org>2017-04-26 02:43:35 +0000
commit4e6b311b82e36b9026a0a604a3d039ba82c04456 (patch)
tree63c15308a12f4f554fc221447c4eb5ed2ebd4e26 /share
parent2e105c7efc348cd2eb7781bcde40067a88f3dd90 (diff)
We are men of action. Lies do not become us.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/VOP_LOOKUP.911
1 files changed, 4 insertions, 7 deletions
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index b9dfdefc04c..6358b0b6175 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.36 2016/06/19 11:54:33 natano Exp $
+.\" $OpenBSD: VOP_LOOKUP.9,v 1.37 2017/04/26 02:43:34 beck Exp $
.\"
.\" Copyright (c) 2003 Ted Unangst
.\" Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -24,7 +24,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: June 19 2016 $
+.Dd $Mdocdate: April 26 2017 $
.Dt VOP_LOOKUP 9
.Os
.Sh NAME
@@ -585,11 +585,8 @@ Don't wait if the vnode lock is held by someone else
.It Dv LK_RECURSEFAIL
Attempt at recursive lock fails.
.It Dv LK_DRAIN
-Wait for all activity on the lock to end, then mark it decommissioned.
-This feature is used to ensure that no other activity can occur while the
-underlying object of a vnode is being cleaned out.
-Must be used in combination with
-.Dv LK_EXCLUSIVE .
+Used to mean something else, but is now used abused as s flag to avoid a lock
+inversion deadlock in deadfs. Do not use this, it must die.
.El
.Pp
.Fn VOP_ISLOCKED