Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2022 20:25:03 GMT
From:      =?utf-8?Q?Dag-Erling=20Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 625bc476c69d - stable/13 - Catch up with 2004 and improve markup.
Message-ID:  <202207112025.26BKP3fJ044030@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by des:

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

commit 625bc476c69dee80ff0672f5d8271afe14b233eb
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2022-06-30 13:36:05 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2022-07-11 21:44:54 +0000

    Catch up with 2004 and improve markup.
    
    Sponsored by:   Juniper Networks, Inc.
    Sponsored by:   Klara, Inc.
    Differential Revision: https://reviews.freebsd.org/D35676
    
    (cherry picked from commit 42db2dbbc51bffa90dc594f728976dcdb646c2b6)
---
 share/man/man9/VOP_STRATEGY.9 | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/share/man/man9/VOP_STRATEGY.9 b/share/man/man9/VOP_STRATEGY.9
index 1265fe50ebdb..6600b8e921d5 100644
--- a/share/man/man9/VOP_STRATEGY.9
+++ b/share/man/man9/VOP_STRATEGY.9
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 2, 2014
+.Dd June 30, 2022
 .Dt VOP_STRATEGY 9
 .Os
 .Sh NAME
@@ -36,6 +36,7 @@
 .Nd read or write a file system buffer
 .Sh SYNOPSIS
 .In sys/param.h
+.In sys/buf.h
 .In sys/vnode.h
 .Ft int
 .Fn VOP_STRATEGY "struct vnode *vp" "struct buf *bp"
@@ -49,14 +50,22 @@ The buffer to be read or written.
 .El
 .Pp
 This call either reads or writes data from a file, depending on the value of
-.Fa bp->b_io.bio_cmd .
+.Fa bp->b_iocmd .
 .Pp
 The call may block.
 .Sh RETURN VALUES
 Always zero.
-Errors should be signalled by setting BIO_ERROR on b_ioflags field in struct buf,
-and setting b_error to the appropriate errno value.
+Errors should be signalled by setting the
+.Dv BIO_ERROR
+bit in
+.Fa bp->b_ioflags
+and setting
+.Fa bp->b_error
+to the appropriate
+.Va errno
+value.
 .Sh SEE ALSO
+.Xr errno 2 ,
 .Xr buf 9 ,
 .Xr vnode 9
 .Sh AUTHORS



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