fix VOP_ISLOCKED description

noticed by Adam Burkepile
This commit is contained in:
pooka 2008-08-04 21:22:02 +00:00
parent 358dc24349
commit 7ab651d699
1 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: vnodeops.9,v 1.74 2008/05/31 16:24:59 enami Exp $
.\" $NetBSD: vnodeops.9,v 1.75 2008/08/04 21:22:02 pooka Exp $
.\"
.\" Copyright (c) 2001, 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 January 19, 2008
.Dd August 5, 2008
.Dt VNODEOPS 9
.Os
.Sh NAME
@ -1094,8 +1094,11 @@ writes to the same file from happening at the same time.
Test if the vnode
.Fa vp
is locked.
A non-zero value is returned if the vnode is not locked, otherwise
zero is returned.
Possible return values are
.Dv LK_EXCLUSIVE ,
.Dv LK_SHARED
or 0 for lock held exclusively by the calling thread, shared lock held
by anyone or unlocked, respectively.
.It Fn VOP_BMAP "vp" "bn" "vpp" "bnp" "runp"
Convert the logical block number
.Fa bn