From nobody Fri Nov 29 21:39:21 2024 X-Original-To: dev-commits-src-main@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 4Y0RQd4g1Dz5flH9; Fri, 29 Nov 2024 21:39: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y0RQd4663z4448; Fri, 29 Nov 2024 21:39:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732916361; 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=B0suMVQP85TUqZvFgtzVBHokSeJFKJx9PNbpB+AeAU8=; b=bGqpdepX42oBF/k7Q6VnnByg40gfXXEPD60NIgfthcZd13sGOJAXq0n+3+WQzsKGLzelUE 3MQmDv+nmQkBjQKhcTxf4oguqJIpeOJtkW5GG6xDz6q0qTg9omH20i6aOpkSHUsg1tW8Mp pFPDjS+REtlo6JdrXHEvPIviih5cGgMeD9X5ogJH4FXrwwct4T2ORKuW+vjJd+LoM/7ed6 TxIM7iS+91ub1/vBg/OdiMFwAMWV5NdB/aVF34BDsRJzAeugeqJ8WRHQXPLUT4LOlI2eSK D4gID1E2PcIPv9EwWPriUW/pQMFoLbosqX+WHA+6uwi14Nqfmao4td0xDTXcWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732916361; 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=B0suMVQP85TUqZvFgtzVBHokSeJFKJx9PNbpB+AeAU8=; b=InYib5qauCSwkCjKpKlLJN9b/EddkZc/rZawdFkipEcKQOX2DSBz/2P03ZE/Fgtm9R5u8H Kf0ILEas2hdjMizPi+CMRMkx7fI3YFCyLgaa33z85g9bxPMMxMBkMpo/ItBvz5cN1VdFhw qU0N8Fwk8d0dIwsxezP4iKqZR9uj/ffPVAZKdVZXooF0BwBAlVKvoRH9qghRJ3epAl1Cac Usrx6+ttR6EwKXy7byrq1NJ2PYlLGmvPJoa8WyR/a74PdoHeHU/DVUzz5GbhynAzu25gMU 4snH0yokXQIRkZ+X5T9THUJyNHCTweiAy0pUE5LCyEygBWiJwf7gZEuYDCFwlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732916361; a=rsa-sha256; cv=none; b=dhuHUC5IPAK/sL/RbEohTefPXolUTWq8hmJjA74NM14kc0iz7AUIC4/1B85I78y6/afkQX 3RC4UQGOYirUPY4/YNnFtNNW1nuDTj88ofGwLaLyfNekzqJZ8t2A3eQAbdq8VD/U6a76PH J3gQRih05twVOo3M7++HNe6w3yP/QbTn1hwhX4E30GdHEct+asZfm+G1DS22+C9plqGUDg 6uQHd68u6JRf7t2vzZbfy6QxcjFcRbqdtHEmX24qrDvxtQKjY1NtNvg5rUtqTZhL70Cmx/ Ps9e7tN7FjeRGk+L7ejsx6dj8XJNmXkMoTyXeDHXGQhl7hRnlXId/Glg7/uiOg== 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 4Y0RQd3j10zfZD; Fri, 29 Nov 2024 21:39:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4ATLdLed093818; Fri, 29 Nov 2024 21:39:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ATLdLuF093815; Fri, 29 Nov 2024 21:39:21 GMT (envelope-from git) Date: Fri, 29 Nov 2024 21:39:21 GMT Message-Id: <202411292139.4ATLdLuF093815@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: e4d5b6dc3cd5 - main - linux(4): Fix typo `xatrr` in function name List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e4d5b6dc3cd51d16dcd0c72d2292b65e76b0f06a Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e4d5b6dc3cd51d16dcd0c72d2292b65e76b0f06a commit e4d5b6dc3cd51d16dcd0c72d2292b65e76b0f06a Author: Minseo Kim AuthorDate: 2024-11-17 13:42:07 +0000 Commit: Warner Losh CommitDate: 2024-11-29 21:38:35 +0000 linux(4): Fix typo `xatrr` in function name Correct `xatrr_to_extattr` to `xattr_to_extattr`. Signed-off-by: Minseo Kim Reviewed by: imp,emaste,markj Pull Request: https://github.com/freebsd/freebsd-src/pull/1533 --- sys/compat/linux/linux_xattr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/compat/linux/linux_xattr.c b/sys/compat/linux/linux_xattr.c index 6979fff9c82d..2eec33f8ef93 100644 --- a/sys/compat/linux/linux_xattr.c +++ b/sys/compat/linux/linux_xattr.c @@ -98,7 +98,7 @@ error_to_xattrerror(int attrnamespace, int error) } static int -xatrr_to_extattr(const char *uattrname, int *attrnamespace, char *attrname) +xattr_to_extattr(const char *uattrname, int *attrnamespace, char *attrname) { char uname[LINUX_XATTR_NAME_MAX + 1], *dot; size_t len, cplen; @@ -255,7 +255,7 @@ removexattr(struct thread *td, struct removexattr_args *args) char attrname[LINUX_XATTR_NAME_MAX + 1]; int attrnamespace, error; - error = xatrr_to_extattr(args->name, &attrnamespace, attrname); + error = xattr_to_extattr(args->name, &attrnamespace, attrname); if (error != 0) return (error); if (args->path != NULL) @@ -312,7 +312,7 @@ getxattr(struct thread *td, struct getxattr_args *args) char attrname[LINUX_XATTR_NAME_MAX + 1]; int attrnamespace, error; - error = xatrr_to_extattr(args->name, &attrnamespace, attrname); + error = xattr_to_extattr(args->name, &attrnamespace, attrname); if (error != 0) return (error); if (args->path != NULL) @@ -378,7 +378,7 @@ setxattr(struct thread *td, struct setxattr_args *args) if ((args->flags & ~(LINUX_XATTR_FLAGS)) != 0 || args->flags == (LINUX_XATTR_FLAGS)) return (EINVAL); - error = xatrr_to_extattr(args->name, &attrnamespace, attrname); + error = xattr_to_extattr(args->name, &attrnamespace, attrname); if (error != 0) return (error);