aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/getnewvnode.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/getnewvnode.9')
-rw-r--r--share/man/man9/getnewvnode.911
1 files changed, 4 insertions, 7 deletions
diff --git a/share/man/man9/getnewvnode.9 b/share/man/man9/getnewvnode.9
index 57ecc986c7cd..d35c1a080158 100644
--- a/share/man/man9/getnewvnode.9
+++ b/share/man/man9/getnewvnode.9
@@ -24,9 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
.\" DAMAGE.
.\"
-.\" $FreeBSD$
-.\"
-.Dd November 21, 2001
+.Dd November 1, 2023
.Dt GETNEWVNODE 9
.Os
.Sh NAME
@@ -37,14 +35,12 @@
.In sys/vnode.h
.In sys/mount.h
.Ft int
-.Fn getnewvnode "const char *tag" "struct mount *mp" "vop_t **vops" "struct vnode **vpp"
+.Fn getnewvnode "const char *tag" "struct mount *mp" "struct vop_vector *vops" "struct vnode **vpp"
.Sh DESCRIPTION
The
.Fn getnewvnode
function initializes a new vnode, assigning it the vnode operations passed in
.Fa vops .
-The vnode is either freshly allocated, or taken from the head of the
-free list depending on the number of vnodes already in the system.
.Pp
The arguments to
.Fn getnewvnode
@@ -63,7 +59,8 @@ Points to the new vnode upon successful completion.
.Sh RETURN VALUES
.Fn getnewvnode
returns 0 on success.
-There are currently no failure conditions - that do not result in a panic.
+.Sh BUGS
+It never returns an error, instead either succeeds or blocks indefinitely.
.Sh AUTHORS
This manual page was written by
.An Chad David Aq Mt davidc@acns.ab.ca .