Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2021 18:31:55 GMT
From:      Robert Wing <rew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c7a7e547a5ad - main - vn_isdisk(9): update after r364372
Message-ID:  <202106281831.15SIVt3p041605@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rew:

URL: https://cgit.FreeBSD.org/src/commit/?id=c7a7e547a5ad2c699fed4c011c65bcd7c0d5f859

commit c7a7e547a5ad2c699fed4c011c65bcd7c0d5f859
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2021-06-28 18:27:27 +0000
Commit:     Robert Wing <rew@FreeBSD.org>
CommitDate: 2021-06-28 18:27:27 +0000

    vn_isdisk(9): update after r364372
    
    Reviewed by:    mjg
    Differential Revision:  https://reviews.freebsd.org/D30874
---
 share/man/man9/vn_isdisk.9 | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/share/man/man9/vn_isdisk.9 b/share/man/man9/vn_isdisk.9
index 76cdf96810cb..5de75e53e1e7 100644
--- a/share/man/man9/vn_isdisk.9
+++ b/share/man/man9/vn_isdisk.9
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 9, 2001
+.Dd June 28, 2021
 .Dt VN_ISDISK 9
 .Os
 .Sh NAME
@@ -35,12 +35,16 @@
 .Sh SYNOPSIS
 .In sys/param.h
 .In sys/vnode.h
-.Ft int
-.Fn vn_isdisk "struct vnode *vp" "int *errp"
+.Ft bool
+.Fn vn_isdisk "struct vnode *vp"
+.Ft bool
+.Fn vn_isdisk_error "struct vnode *vp" "int *errp"
 .Sh DESCRIPTION
 The
 .Fn vn_isdisk
-function checks to see if
+and
+.Fn vn_isdisk_error
+functions check to see if
 .Fa vp
 represents a disk.
 In order for
@@ -56,7 +60,7 @@ must have
 .Dv D_DISK
 set.
 .Pp
-Its arguments are:
+The arguments are:
 .Bl -tag -width ".Fa errp"
 .It Fa vp
 The vnode to check.
@@ -64,7 +68,7 @@ The vnode to check.
 An integer pointer to store the error number in if the call fails.
 .El
 .Sh RETURN VALUES
-If the vnode represents a disk, 1 is returned; otherwise, 0
+If the vnode represents a disk, true is returned; otherwise, false
 is returned and
 .Fa errp
 will contain the error number.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106281831.15SIVt3p041605>