From patchwork Fri Jul 28 02:09:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Van Hensbergen X-Patchwork-Id: 127281 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp148962vqg; Thu, 27 Jul 2023 19:41:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlE9puko1m7dx8CM6ty3NN0O7Ny5Vyk+Hq8YcMpIECpCq8hQQu2mOsb3+REfsstOFZkWSTN7 X-Received: by 2002:a05:6808:23c8:b0:39e:a1b0:ed79 with SMTP id bq8-20020a05680823c800b0039ea1b0ed79mr1652785oib.19.1690512099402; Thu, 27 Jul 2023 19:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690512099; cv=none; d=google.com; s=arc-20160816; b=O76hmNWGI2ySOu8ijE0Mv8cLK7h8upRbNo1Fqig3q4l6vwB5dyO9FgWsW9IDXUYfY5 j7vVJjQtjAJoXVUJoaGjAZ78XTTChb3biJCZWoVGYcbxaV3Fere4cot40ysOm6jXzdc9 30WGtOYP2EOQyFelhjN3LmemGMHTfoJfUyW54dhDGS4gRsvm5afeAMozmBhkiShgqa7K Nj3NVv/RgD+vk7Yt1lnpVCEIoYUwnZFUT4togHBzBdW8DTXkFtt4UaBGIiCvDbXmBLf8 71WpoFEfi3a4I94e8SNhk+wKR7ROeTsy96ufbMpa42qd5eauySgJHyZyG3TAbNPq1Y69 iK5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=O5+ArzB9BS3gy5VtMfAbolo0uxNXICaYLTp92gV0kN4=; fh=czRPWLGt6RKSqTuNYNr7BdZ+ylA5XHLAI6rKsCWreXc=; b=VROpRHN+uwrwHM+kG6Cfwt0NuLA1eEgV7RscWeQQQxYKKyDLG8FxAXe7P9oGBGocGG jGiUzW91n0FsHFlxdKFn53WEtOudczdxLQwAiXhOBAhSze0m5eBSpfg6QF/UaOADyG8n ZQmNHB7flDIfre51/5P5jLdCCVBrxjT3w3wc/1XJiGhC9EC3TvlLhCsG3D169OPzrv8i A/Dc2BgAxgr7aAVvGJK0iuAjnG5p5N3u78W3V76iPVAssGg+JoVXssL3y47wwnBSJq6F JcKMw9uV61eEx6CTNo6r/DgJNlgLmRywC94a6LQDy1ZpLuCX1MeMeVJ1/KBk+JUJVeEa tIEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qkWhGuyB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a63b512000000b0054fe07d2f49si2190031pge.657.2023.07.27.19.41.26; Thu, 27 Jul 2023 19:41:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qkWhGuyB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbjG1CJk (ORCPT + 99 others); Thu, 27 Jul 2023 22:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232697AbjG1CJf (ORCPT ); Thu, 27 Jul 2023 22:09:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAD3D2D75 for ; Thu, 27 Jul 2023 19:09:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0139A61F8B for ; Fri, 28 Jul 2023 02:09:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12ACDC433C8; Fri, 28 Jul 2023 02:09:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690510172; bh=Ret+BePR9nqIq/mJb5VuaqGEst0mgMQLaZuEFmWudjQ=; h=Date:From:To:Cc:Subject:From; b=qkWhGuyBStVu5kf1RD9bgHQD8g3GJZuM4cpuMoYg3hZkcdW6ursCMXBALcpXijv9N U2zFItnDo6l2AJelQwfW/otvVcvp2mo52NXY8qtYVb+YmVQdIUEl1mNeaTw2d+yvEs VsiRSuMpZMXjWhCuSiGSwowiOBTUtfqq56IvwaXRG9mqds3ATO8MLow0jiKx4zx49a bpkWQkhFun3iVrxp3IIUBWi22WaiU0wr5V9ZEbDKx0cFF0BMSOO1n5lIknsNwEJYTQ wXqTBSfUfMtQl2rr99PYN9GCHs0lliB6XAvIeonx+Q1HyUVtH5OAB5ivSPmFvkYoMw wHrJ8SzC2cEDA== Date: Fri, 28 Jul 2023 02:09:29 +0000 From: Eric Van Hensbergen To: torvalds@linux-foundation.org Cc: v9fs@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [GIT PULL] fs/9p fixes for v6.5-rc3 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772630415102004545 X-GMAIL-MSGID: 1772630415102004545 The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5: Linux 6.5-rc1 (2023-07-09 13:53:13 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git fixes/next for you to fetch changes up to e6ab0b914c12acefbb0880dded48cb930ccab5cf: fs/9p: Remove unused extern declaration (2023-07-20 19:21:48 +0000) -------------- Misc set of fixes for 9p in 6.5 Most of these clean up warnings we've gotten out of compilation tools, but several of them were from inspection while hunting down a couple of regressions. The most important one to pull is 75b396821cb71164dac3a1ad51dda4781ea8dbad (fs/9p: remove unnecessary and overrestrictive check) which caused a regression for some folks by restricting mmap in any case where writeback caches weren't enabled. Most of the other bugs caught via inspection were type mismatches. ---------------------------------------------------------------- Christophe JAILLET (1): fs/9p: Fix a datatype used with V9FS_DIRECT_IO Dominique Martinet (5): 9p: fix ignored return value in v9fs_dir_release 9p: virtio: fix unlikely null pointer deref in handle_rerror 9p: virtio: make sure 'offs' is initialized in zc_request 9p: virtio: skip incrementing unused variable 9p: remove dead stores (variable set again without being read) Eric Van Hensbergen (4): fs/9p: remove unnecessary and overrestrictive check fs/9p: fix typo in comparison logic for cache mode fs/9p: fix type mismatch in file cache mode helper fs/9p: remove unnecessary invalidate_inode_pages2 YueHaibing (1): fs/9p: Remove unused extern declaration fs/9p/fid.h | 6 +++--- fs/9p/v9fs.c | 2 -- fs/9p/v9fs.h | 2 +- fs/9p/vfs_dir.c | 5 +++-- fs/9p/vfs_file.c | 5 +---- fs/9p/vfs_inode.c | 6 ------ fs/9p/vfs_inode_dotl.c | 1 - net/9p/client.c | 46 ++++++++++++---------------------------------- net/9p/trans_virtio.c | 8 ++++---- 9 files changed, 24 insertions(+), 57 deletions(-)