Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2383339rwo; Thu, 3 Aug 2023 08:36:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlG2OU+ac1kwp50hIu/DOo1SU4p8DfNHNHZ8ZDIzDHTBJdqzEJrJt/brJPCn8xFH4Toa8YI8 X-Received: by 2002:a17:903:1cc:b0:1bb:59a0:3d34 with SMTP id e12-20020a17090301cc00b001bb59a03d34mr16198583plh.30.1691077011945; Thu, 03 Aug 2023 08:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691077011; cv=none; d=google.com; s=arc-20160816; b=XIn8Q+CNpVhHNs8mnTnujdKebil2D7+FREbkrP0OWsKoEzPqG3i7OOjNh6lkOX7TID k64Lvwj9B050FhPoRaUa5YUDTAB2aLCowkBCzxYIQUARMcPA+ctSuNJnIREVlbD5G6vV 6LFR4zTqHm7xcAsH/NNijhdFGumxyOogPWRgTPPK23xAvQlCymm0xYTNs+eg0oQunVHJ +ejBQ4GGchvHH6hO9P7/NnH+DFa//Wpozn9BolW7mOySU70u/E8LhqkZMqLOMCi+uEis FGvO7ziX5a+sSc2Z4u/eVZeUxH+jdPz98676Wo+2HDIz2QOjBXLmLOolXyGyaq96ZrQc 2KAg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jx15-20020a170903138f00b001b8b37f0ab0si28070plb.280.2023.08.03.08.36.38; Thu, 03 Aug 2023 08:36:51 -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 S235747AbjHCOu2 (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-Type: text/plain; charset=utf-8 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 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(-)