From owner-dev-commits-src-main@freebsd.org Sat Jan 30 17:30:45 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 46FF14F39EE; Sat, 30 Jan 2021 17:30:45 +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 4DSh7T0yJGz4pj8; Sat, 30 Jan 2021 17:30:45 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 13B411972F; Sat, 30 Jan 2021 17:30:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 10UHUjnN013883; Sat, 30 Jan 2021 17:30:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 10UHUjEd013882; Sat, 30 Jan 2021 17:30:45 GMT (envelope-from git) Date: Sat, 30 Jan 2021 17:30:45 GMT Message-Id: <202101301730.10UHUjEd013882@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Robert Wing Subject: git: 7436a63ba908 - main - g_provider_by_name(9): argument can be a geom name or fullpath MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7436a63ba908a52f1a11f202dbacd9f5eb5b9fee Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2021 17:30:45 -0000 The branch main has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=7436a63ba908a52f1a11f202dbacd9f5eb5b9fee commit 7436a63ba908a52f1a11f202dbacd9f5eb5b9fee Author: Robert Wing AuthorDate: 2021-01-29 23:18:28 +0000 Commit: Robert Wing CommitDate: 2021-01-30 17:25:10 +0000 g_provider_by_name(9): argument can be a geom name or fullpath The argument passed to g_provider_by_name(9) can be a geom name or a fullpath. - g_provider_by_name() gained this functionality in 769afdc71ea6b0c09dae883ce49d913cbc8cff5b. Reviewed by: imp, kevans Approved by: kevans (mentor) Differential Revision: https://reviews.freebsd.org/D27566 --- share/man/man9/g_provider_by_name.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man9/g_provider_by_name.9 b/share/man/man9/g_provider_by_name.9 index 56dd303298b6..8293b15b8043 100644 --- a/share/man/man9/g_provider_by_name.9 +++ b/share/man/man9/g_provider_by_name.9 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 16, 2004 +.Dd January 29, 2021 .Dt G_PROVIDER_BY_NAME 9 .Os .Sh NAME @@ -44,9 +44,9 @@ and returns the structure bound to it. Argument .Fa name -should be a name, not a full path (i.e., +can be a name or full path (i.e., .Dq Pa da0 , -instead of +or .Dq Pa /dev/da0 ) . .Sh RESTRICTIONS/CONDITIONS The topology lock has to be held.