From nobody Thu Oct 06 23:57:32 2022 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 4Mk7fN3L6Mz4dpZN; Thu, 6 Oct 2022 23:57:32 +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 4Mk7fN2pKJz41pb; Thu, 6 Oct 2022 23:57:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665100652; 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=5zZWqSs5lDWtuTAMtZGnxRuzT4vPZ7Y+8U/YMonK9vU=; b=MHTD6WWuJlCWqlZrcSl8rxQ/LEwua4JntRpAHeyJsOklK4MIl3Knz1W+9XNbWpjZuvohiH 8Xw0iB+Dsvk0EM09r5nNAQVGJWndCAtIb5YMmwp3SX7mccLUBK9BS6mZ40NvtgRxhqQZ8l wAB3skAni+Ht/znzd901B12X9ZHlVfRXIB4ssTiDU1b6KrwD4CKLGM273RS4YhwyUG1Vwp iclBX23Aj1t+eNt4UjNlfDD1ZaJq83TtpY84VOzsrDvfUPeNppNIzZ+Mjmo0usaK1b3aa0 dy3KyAsHj//PiMvs1BTWYWBxNorA6mDQECfBPtnnZGoIZcvsNDkYTv0NhuUdDw== 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 4Mk7fN1d1rzQDf; Thu, 6 Oct 2022 23:57:32 +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 296NvWaq091934; Thu, 6 Oct 2022 23:57:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 296NvWAN091933; Thu, 6 Oct 2022 23:57:32 GMT (envelope-from git) Date: Thu, 6 Oct 2022 23:57:32 GMT Message-Id: <202210062357.296NvWAN091933@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: d497b97e9029 - stable/13 - nfscl: Fix parameter order in the calls to MGET(). 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: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: d497b97e9029a5dd7579796012f8a854f28894b0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665100652; 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=5zZWqSs5lDWtuTAMtZGnxRuzT4vPZ7Y+8U/YMonK9vU=; b=USzsiUbVolx4Om+bGV/93JqqwVx5TV2RpCXuNpje+DpRtPFu6TjVm8VPBRh12mh+UcGwi3 XjbHNiuwF745EOaFfNNHirJJ4byohuUPwvrethYjcBohQ7WnyRHCJEzVHB6/SDngD4BvJ4 w40pLnA4tnslkLaxdVjdT/50OID8oaQdGCVC1ZnySEb6myemjgwy4ama8pAPc6/dbFxgX9 yGRUi2I9bw0HS4gmiEgM9yhIsPik4cR5fKZEm3bXycVs55GRuatMyftvrCmcWIIeep1Gn0 mNVPIiYQJKvYo8fde6fJiGckO0RWEdrSVmdNrxfTa4pajgaF0VwsqgA3CISFHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665100652; a=rsa-sha256; cv=none; b=K3U9Ekm2d9RubBvRZTXIurGxRrHDZTCC9H2cVFQNPXOcWxIlJa9dXWXwDZ6e5kJ6f2W6k6 EwO+twJnbuXBGQL4Tsibq0SrfdQtInoBG89ADUUmuQcHGT8zAoymZGaAvqPkZuEwWAkjv9 Vl9OW2xybN7/zYNuSGHEOB2OVdqo8XSuAA5pIg2ioZm+2cW67uEBstv7CAfa13FKQI/yvY uIRuS5PAvhjpShVl8fQOUlWrMo9Mv6pleI7J+G0x9/GkYXbhzZ1vo9BoMG9L/RPv6MhTBu T5Sm/GNIyf8bN8UvGupg/CZ3I9ELukOoms550Vowtjy1uBaZSeE5XIhBJpTmEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=d497b97e9029a5dd7579796012f8a854f28894b0 commit d497b97e9029a5dd7579796012f8a854f28894b0 Author: Zhenlei Huang AuthorDate: 2022-09-23 21:04:36 +0000 Commit: Rick Macklem CommitDate: 2022-10-06 23:52:10 +0000 nfscl: Fix parameter order in the calls to MGET(). (cherry picked from commit 8b43388c745ebb42414496f2925f47acac662c2f) --- sys/fs/nfs/nfs_commonsubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/nfs/nfs_commonsubs.c b/sys/fs/nfs/nfs_commonsubs.c index 9057689a36e4..9759df2fcc23 100644 --- a/sys/fs/nfs/nfs_commonsubs.c +++ b/sys/fs/nfs/nfs_commonsubs.c @@ -745,7 +745,7 @@ nfsm_dissct(struct nfsrv_descript *nd, int siz, int how) } else if (siz > ncl_mbuf_mhlen) { panic("nfs S too big"); } else { - MGET(mp2, MT_DATA, how); + MGET(mp2, how, MT_DATA); if (mp2 == NULL) return (NULL); mp2->m_next = nd->nd_md->m_next;