Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2071994rdb; Mon, 9 Oct 2023 11:30:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFCmIPAo4worysyISSzL6xJbnH3GbVteNEpu8fySPi7T9tvJ2D+Qd/4eKSPODxU8g4H6dUK X-Received: by 2002:a17:902:6946:b0:1bf:27a2:b52b with SMTP id k6-20020a170902694600b001bf27a2b52bmr15459188plt.58.1696876206773; Mon, 09 Oct 2023 11:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696876206; cv=none; d=google.com; s=arc-20160816; b=dcgZIF01XsK17W5BoHYvZXEAIt+d+yqB2JBwb4+xiVQFvM7Q9xJ4ONrzaTlkAoNCgK 1Mqp1t26w+NdEQdcOD18ejOQqZv5eBtx26gmjSMhnPo/Fu2nH4AfTd/AMkir42dwOkcx WnUBfsBF3e3K/DxrkN13g3pp825SwFFPBfi/gV4tFaOenUUfge4j0jVB/FJ1LPqPdGOL P+4+hGvocqf+Khv86INBoDmCCG/OJ5C4Wv4g/GDVybNQe61jIJi0mYV/vnq5u5EzDnIv MONVpB5DLqFAXHaixXPy7lPLPpn3zjfBB8BESzEwqzu4ih1AMmHq5jKMzqwPNv66Ih2r S4mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject:dkim-signature; bh=plsRCx0Wn/mWHeUKsB7xprtTpKvMTyyT5GHcYJA4VAg=; fh=v8a13lpFSZWlL4AptTEJnmXnlqoWXhGCGCgvrcnCT9I=; b=jBp2n5h3ChFFDjTaLk4H859AN3rSFKMIVs48qT/XWn7eTWOwUnL49tO8R5jXk+5zfo xu+T+EzTb+MPmeHb+S5eABeBVI13xB+B1lHR/LUIXgYDyjXJX+U6p6t8N8KJpS8vs4YA vPJVhgWr5vw5r3W6xEhSAZonaOpnXmW9nn5hcHkTZmEpwypJu3WIKlLxmireqmiNfh7h jFwFQBaUHul86DV5J5xLCDJr22e0PGL4mkBdO4PyEYFrw0jRtG3sb0ov0/aAAPHCL+23 AkzJkiA8v/Rv8zxUYHe3uF4IHhG2PCCNGNXfjSsKFYpgtYP0V8eDGd/WOea140oG0kcg 129w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ouz1n41R; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id jw17-20020a170903279100b001c624cbc92dsi6530114plb.296.2023.10.09.11.29.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 11:30:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ouz1n41R; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4BD1A80BD3AD; Mon, 9 Oct 2023 11:29:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376281AbjJIS3k (ORCPT + 99 others); Mon, 9 Oct 2023 14:29:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377192AbjJIS3j (ORCPT ); Mon, 9 Oct 2023 14:29:39 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83784AF for ; Mon, 9 Oct 2023 11:29:38 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE737C433C7; Mon, 9 Oct 2023 18:29:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696876178; bh=2W/TZUoEX0Nkof+Svi68y8wQS4wcmXHgd6fSYo1wF10=; h=Subject:From:To:Cc:Date:From; b=Ouz1n41RGg88CAfoIAOnI15RaE1fEs7j7KtBwLXZysBl9bs8Ako3UKprbnHYxMi5A 8uZEoaDELEK8xRSaeRWo+tuMie+f7mw1WHTsXNFhQHgPAGxa+aeoI8qpuBlv7hlAqk ctb1/mlDKjvHZrfQEXtWc707leeqAi7wlE8UFOhqcIVMgOeOx4uH8FPQwb/KdEogvX cGj8yAKUZ6XqgmeubCK4UI7wSIVTdHQ9t/PnrIi+1+92AcgaqL/U3+1Rt8cUXOX61w Yt+epN1AlRn/dBMNrzC/YqfNzxF65Hw8CxFS/Vx5vwL+F4/Bh8N5kM1OTRA1iECInr RP9XCMweFaETQ== Subject: [PATCH v1 0/8] Clean up miscellaneous NFSv4 XDR encoders From: Chuck Lever To: linux-nfs@vger.kernel.org Cc: Chuck Lever Date: Mon, 09 Oct 2023 14:29:36 -0400 Message-ID: <169687606447.41382.568611605570999245.stgit@oracle-102.nfsv4bat.org> User-Agent: StGit/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 09 Oct 2023 11:29:41 -0700 (PDT) X-Spam-Level: ** Tidy up the server-side XDR result encoders for remaining miscellanous NFSv4 operations. Series applies to nfsd-next. See topic branch "nfsd4-encoder-overhaul" in this repo: https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git --- Chuck Lever (8): NFSD: Clean up nfsd4_encode_access() NFSD: Clean up nfsd4_do_encode_secinfo() NFSD: Clean up nfsd4_encode_exchange_id() NFSD: Clean up nfsd4_encode_test_stateid() NFSD: Clean up nfsd4_encode_copy() NFSD: Clean up nfsd4_encode_copy_notify() NFSD: Clean up nfsd4_encode_offset_status() NFSD: Clean up nfsd4_encode_seek() fs/nfsd/nfs4proc.c | 4 +- fs/nfsd/nfs4xdr.c | 419 ++++++++++++++++++++++++--------------------- fs/nfsd/xdr4.h | 4 +- 3 files changed, 225 insertions(+), 202 deletions(-) -- Chuck Lever