From nobody Wed Nov 01 08:21:20 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SL0Mj1zDhz4yylv; Wed, 1 Nov 2023 08:21:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SL0Mh6625z3CLj; Wed, 1 Nov 2023 08:21:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698826880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g6BQDv62V+/A6ReVkY0RsXX8O1PYG3+Fo+6Oe9L1Kas=; b=g0kcX5rzGlskxrF/bDgBQi7+K6Gbs9Ie4mym1ynbEaqDxgIu1suI82WJ9bKiX3oiZROQRr H2yqa4NC5it6xOJ7G0auZ3aJVMn7Bj8n84C/kXGvIE5gsh1dhA/HJaG3Om1P4hqgsqTFx9 Yi7GDMZIvTUg/lJT21yTJsEabNcsR5pT+QNf9/qWXR83sDNWmD03Gv4WpiV+APcM7uZMCR Buk7J+SZZdVMhPj4zmeJ6DKlYd6bMFSGJJ+x204i6V+k+w4slYhzMmrcdRs+UtYQKByXO2 BBlS0D8tNMYN9GcIccRlggeEb0DIWyjM3AiU2fUDyGy8IEglcqqik2c2hiEL4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698826880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g6BQDv62V+/A6ReVkY0RsXX8O1PYG3+Fo+6Oe9L1Kas=; b=qkDJdgOlUPog/tpYyCcHVBB3eDbD0+rgAdghAqGz5HbNuGjAxoF0ADJO4GrROilvSp35pc WFGQVnlIZS5kNE2kHxX7nHdhXaXqpZnP92/wMwf6dATXpgzo0kMbdpvJdI+Tbuz5DbdLRo sVvlkbIJh+/6f07Idw/hsqc/Lbg+0S5KuvrXfEZbsfXQxUAc1By0oDzZSkc4A5bMkWfFl0 odVwuMQxu2YRDm8n6G1VN0Y0ZdUso7Cgjkn0+CBOf4uwUsULciwSqu7flrjHPnib6/3p2f ejwPTxF2Ay7n0KnFBRVRhEbNeG4ZET8W6n9XdeJvBqFuYA3dQN7IoAgXRkB9EQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698826880; a=rsa-sha256; cv=none; b=AAIvYpI7TZU7DvtyrNxpa8XYrKkGisEkHCO/7LoED05rDEUuIzCDneDPyLUW9DAwrWUNbC 1/wzOf+LfHdtQASVk3yG7oQQUX80wQFbhGDnonRiyP8f0VDxqbRTymBhrN5qkQDNHFgkeK MX7XMP0avbObxVbK0fl1YPLtmd7JTD/s+kDLQS5rAilnL0Cwqq8DSbR59+/f7iQZVtEEdq 8vHaqHzj+txKeLLygp5y0tSK8Rx6E8P79Ls9LrQxr8CnPOvz5P3/noWn2SYdOfPhG7iAnY kQowZSS4gugAjYG3MPZK1F3CNg0AXsvAHaqLOJzEiVatI5N0lS6+7FKp8cJKgA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SL0Mh55CwzfLk; Wed, 1 Nov 2023 08:21:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A18LK1a093675; Wed, 1 Nov 2023 08:21:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A18LKqx093672; Wed, 1 Nov 2023 08:21:20 GMT (envelope-from git) Date: Wed, 1 Nov 2023 08:21:20 GMT Message-Id: <202311010821.3A18LKqx093672@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 1692e50f2573 - main - vfs: bring getnewvnode manpage closer to reality List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1692e50f25730bfa0c579396bc2f79973717b30b Auto-Submitted: auto-generated The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=1692e50f25730bfa0c579396bc2f79973717b30b commit 1692e50f25730bfa0c579396bc2f79973717b30b Author: Mateusz Guzik AuthorDate: 2023-11-01 08:20:12 +0000 Commit: Mateusz Guzik CommitDate: 2023-11-01 08:21:10 +0000 vfs: bring getnewvnode manpage closer to reality --- share/man/man9/getnewvnode.9 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/share/man/man9/getnewvnode.9 b/share/man/man9/getnewvnode.9 index 9c0219af1bba..89f8bfc0aa6e 100644 --- a/share/man/man9/getnewvnode.9 +++ b/share/man/man9/getnewvnode.9 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH .\" DAMAGE. .\" -.Dd November 21, 2001 +.Dd November 1, 2023 .Dt GETNEWVNODE 9 .Os .Sh NAME @@ -35,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 @@ -61,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 return 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 .