diff options
author | Tim van der Molen <tim@cvs.openbsd.org> | 2020-08-02 19:32:09 +0000 |
---|---|---|
committer | Tim van der Molen <tim@cvs.openbsd.org> | 2020-08-02 19:32:09 +0000 |
commit | cb58456223016c2543f0059a33c44756885210a0 (patch) | |
tree | 75c3cb9804c23254041bac0f4acfd05e60750d32 /share | |
parent | 606c42fab66b9737263f5c7b7eac438d6e8d397c (diff) |
The difference between vgone(9) and vgonel(9) has changed after the
removal of the vnode interlock in 2007.
Reported by and original diff from Dominik Schreilechner.
OK jmc@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/vgone.9 | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/share/man/man9/vgone.9 b/share/man/man9/vgone.9 index 3a663b582df..ef46e859d3b 100644 --- a/share/man/man9/vgone.9 +++ b/share/man/man9/vgone.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vgone.9,v 1.8 2013/07/17 20:21:55 schwarze Exp $ +.\" $OpenBSD: vgone.9,v 1.9 2020/08/02 19:32:08 tim Exp $ .\" .\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. .\" @@ -27,7 +27,7 @@ .\" .\" $FreeBSD: src/share/man/man9/vgone.9,v 1.2 2001/12/14 09:11:13 ru Exp $ .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: August 2 2020 $ .Dt VGONE 9 .Os .Sh NAME @@ -49,17 +49,13 @@ prepare a vnode for reuse by another file system. The preparation includes the cleaning of all file system specific data and the removal from its mount point vnode list. .Pp -The difference between .Fn vgone -and -.Fn vgonel -is that -.Fn vgone -locks the vnode interlock and then calls -.Fn vgonel -while +is identical to .Fn vgonel -expects the interlock to already be locked. +with a +.Fa p +value of +.Dv curproc . .Sh SEE ALSO .Xr vclean 9 , .Xr vnode 9 , |