From patchwork Thu Aug 3 14:50:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gao Xiang X-Patchwork-Id: 130708 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1248095vqx; Thu, 3 Aug 2023 09:04:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlFW4GG1GTfZaK30Tk9tJzYF4f+RMKTHSPkNulTSTDWeccoMUTbvKVgeE6py24bEnbbcdblO X-Received: by 2002:aa7:cb59:0:b0:51e:4439:f476 with SMTP id w25-20020aa7cb59000000b0051e4439f476mr8391766edt.25.1691078673354; Thu, 03 Aug 2023 09:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691078673; cv=none; d=google.com; s=arc-20160816; b=jybjEiRtboC3AC3MRG5dI27LZExLG5pnaU1tJNo8Pkk3wosQnPZ+DbtHXMsF9ir84Q ZSqXSOkHaUwId6FOuMCS6ihLNYaMFa3Wm7daxg/ggg+YrvuzirKPoIe32jFoVvyeWxgc NdmCIWz6Fj9msxm2KWtfQkHT7KLhXWaZr7sfPOgBj1SxDnrqvkpQlyGrO4TBb0DeObz4 5NjfkjNc2PaZHMeAJ9FPtqqk7h7O+wdCoPvUD1BLLjpwciuFrahU+wvK0zTOFt84PV4L ipl9dnDejvh3qZgsArHSXOnTUMaLmdL1Z83vhaBee0bN9wwWm511OrZPe/ueScCJmPRq kYGg== 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 :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=/hm5M0f9YQy6Xkcgdsx9u8fLctymljkdMVtXckH0/g0=; fh=2lpVZf6skFdoBlbeHw9HUGEshhK3CV5z3PUEa0VvHwo=; b=txUQ4DrwR4ZCnyIbnU5dEryrR4TX2rH9My0AuFt4ooO9B8Alo7hwbCPr6QlZMS6Tna F1KIbQPje89KWcfXwBR9Co+FZr81KLKcMCDCZRLOfror/cy1EeWFWBUEYgcQGzK8zHVU bG2W4kOX1zaWdiJO2Ef8lsaSuAC6g7pmKnM4AM0Qez9txfFlRmyIjROZA0lXGF47ctPg HbUBsRf3nejld9iVGCSyDX8m8qaC0hbkGgLCLIn98HRNZF0P8BF17gdEpojY0q1dpjCb 1ZJVekp/csC8Dcs1o3Eswot0w8gFuDfhap8/6lVJ4YfHmdOB3XKM8/+pzEtDDpNkjFb5 fUpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="dBfX/AKy"; 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 l8-20020a056402028800b005222b60fc67si12389055edv.303.2023.08.03.09.03.59; Thu, 03 Aug 2023 09:04:33 -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="dBfX/AKy"; 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 S235756AbjHCOu2 (ORCPT + 99 others); Thu, 3 Aug 2023 10:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235671AbjHCOu0 (ORCPT ); Thu, 3 Aug 2023 10:50:26 -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 CA2BAF0 for ; Thu, 3 Aug 2023 07:50:25 -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 5D8AE61DD9 for ; Thu, 3 Aug 2023 14:50:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4E16C433C8; Thu, 3 Aug 2023 14:50:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691074224; bh=6UZ5Gq0Pftm4pZ1Q4anPSCaaEuJ7ONFvaauXq89PWYk=; h=Date:From:To:Cc:Subject:From; b=dBfX/AKyXewYh0itdzvWTevQIm9Ubf3+i5bVQPUClQhMHUXuoW+iXY8cTJONPsxrR Dx6cwUG22/6EL9vKiUqEkg/bM9S9vtvLqrazAKqOFBWwhPw+Um+47T5rayq3SX7sTB Nq5xh5J+erfVlwoKo0a51J6KGHP9sOYJCDZZRwJkUuvOxvZTbP/RjnAMqlk3isCrdA oVaHjrV5cNLNOOMy8MUJ9Mg5hJ6lOaG6rEfzOMt/Z3xp+GvMFsDfo1/T2a8JtXx/3n KE8eZsxXH7kqJljajkbl/8+Qp3Ohhr66LJfIZDLY9qWWORGMxMPuX7Rtjurm1cX6BT dmaW+H1GPySCw== Date: Thu, 3 Aug 2023 22:50:19 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Shijie Sun , Yue Hu , Chao Yu , Christoph Hellwig , Christian Brauner Subject: [GIT PULL] erofs fixes for 6.5-rc5 Message-ID: Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Shijie Sun , Yue Hu , Chao Yu , Christoph Hellwig , Christian Brauner 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: 1773224510646777415 X-GMAIL-MSGID: 1773224510646777415 Hi Linus, Sorry about another pull due to new reports this cycle, but could you consider these two patches for 6.5-rc5? One patch addresses a data corruption of compressed data deduplication reported by Shijie Sun who is using this feature in their products. The other one actually drops a useless WARN_ON() in erofs_kill_sb(). Since the commit is trivial and the WARN_ON() was actually broken in the -next tree (and triggered a syzbot report) due to a behavior change of .kill_sb() for the next cycle, it'd be better to fix it upstream now. All commits have been in -next for a while and no potential merge conflict is observed. Thanks, Gao Xiang The following changes since commit 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4: Linux 6.5-rc4 (2023-07-30 13:23:47 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.5-rc5-fixes for you to fetch changes up to 4da3c7183e186afe8196160f16d5a0248a24e45d: erofs: drop unnecessary WARN_ON() in erofs_kill_sb() (2023-08-01 16:12:24 +0800) ---------------------------------------------------------------- Changes since last update: - Fix data corruption caused by insufficient decompression on deduplicated compressed extents; - Drop a useless s_magic checking in erofs_kill_sb(). ---------------------------------------------------------------- Gao Xiang (2): erofs: fix wrong primary bvec selection on deduplicated extents erofs: drop unnecessary WARN_ON() in erofs_kill_sb() fs/erofs/super.c | 2 -- fs/erofs/zdata.c | 7 ++++--- 2 files changed, 4 insertions(+), 5 deletions(-)