From nobody Fri Sep 23 21:09:34 2022 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 4MZ4Xb288Fz4cwxX; Fri, 23 Sep 2022 21:09:35 +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 4MZ4Xb1XkHz3XW7; Fri, 23 Sep 2022 21:09:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663967375; 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=yrGvl6mt20VIvmnA38xHnKMD/pb/TTcbHdIpu9oWOqg=; b=TtiU36+bEzcRsBv5MNhuUkU2D4h90MG5bysFQybJwsmfiPVGvJNPUTqOnRPOX+t3LBWMPJ YUnPiWEB05YD2mCdrvAflSxHJTo6rgtiq/Q0z9sRRUqajRviqJ626gMMuzoQ1FYdwc4ITN dO/B/qKDvH7FqLXIIzWEs1GPaqZ5MIbSIRgVrAPVYVJ+b24bIuJ4/PXpOxsJi/wPkIT6n/ 9fe5+v/V0ICexwv5Uf5xpeUEOUo3eKEggi0Vcmr3G++pQkGQ6POma5RuRiM6uxDvf0vEa4 VHTqKrMXfks1RR2PwE2aP2y3JrsciyARRQfRbCWCHe1RtY9OkOdtuZvvvNN5Ug== 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 4MZ4Xb0DkLzrsy; Fri, 23 Sep 2022 21:09:35 +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 28NL9Ymk097540; Fri, 23 Sep 2022 21:09:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28NL9Ym3097539; Fri, 23 Sep 2022 21:09:34 GMT (envelope-from git) Date: Fri, 23 Sep 2022 21:09:34 GMT Message-Id: <202209232109.28NL9Ym3097539@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: 8b43388c745e - main - nfscl: Fix parameter order in the calls to MGET(). 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: 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: 8b43388c745ebb42414496f2925f47acac662c2f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663967375; 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=yrGvl6mt20VIvmnA38xHnKMD/pb/TTcbHdIpu9oWOqg=; b=uvJQhkdvG6bDgBrl3t6c+LNB2vpcJSJXFUjMRQ49sIINIS9989dD6tSTvJCtT7fbf9xUzv TI1TTraMq2yNQZQiWI2lxrOU8ID4O5p9BS6VXm6e+byKxFI3MY5Ap9iVbK86eXypl8Qpyg zPLRd6jRkHgiE0N5rBj63AOwWdnTg5IgGxkmLxC1g+svddVIvC7Z3udXbi15UScIl1HomW /rcy5hwbJiTbEAcqRTR08QN0cE+EvxpjhS3nvGKkDQUr5ti2FheHENaXnGnMC8J4IDml6H zdA4wABhnxHOYDv/Jz8PVaOa5sMJdS13VUAqib7yCOFLHZlI8jbwfs1My8uHxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663967375; a=rsa-sha256; cv=none; b=iZiY2dQnGi3+ancwyzOEQTSZQ3+uyo/7Ok5jBdWn6rIykGIinjwRBcKtl+ofFSQT00KBrD Q/SeA8lHiAStOp0LT8pO/PD2jPvSP1pznvBcKf+ttqBjbTHS4R9kOjciJIjw29swVLyyVo B3YEAVW1iFrfKhjX8pi1zvQBPWC0L1MPjKpMBwaFf0kHT7Sb/vRwyfvUz0PBb16SVATTAd ohq0t90BrE/p9aQT3tm/wV/omPPFDd6J3zv1a+piz7An0szUEB8hLCBedFSshnnWsX0lR+ cMTX2nTa4qCYobOCguYZe1Bb7JGfPBZPiS3xCI1iDhSVrdnr0Oo/oZhI5l+yVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=8b43388c745ebb42414496f2925f47acac662c2f commit 8b43388c745ebb42414496f2925f47acac662c2f Author: Zhenlei Huang AuthorDate: 2022-09-23 21:04:36 +0000 Commit: Warner Losh CommitDate: 2022-09-23 21:07:24 +0000 nfscl: Fix parameter order in the calls to MGET(). Reviewed by: imp, rmacklem Differential Revision: https://reviews.freebsd.org/D36644 --- 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 06b0354e06a7..b16aa428556f 100644 --- a/sys/fs/nfs/nfs_commonsubs.c +++ b/sys/fs/nfs/nfs_commonsubs.c @@ -744,7 +744,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;