From patchwork Thu Jan 18 15:32:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gao Xiang X-Patchwork-Id: 189264 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp421506dyb; Thu, 18 Jan 2024 07:33:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxSIOVRtKuxlETZ8js9Fe4qN6qoH4JY8rufptTyuggqgMgchomo3Xs2r0ZlmQ+btQSnsV4 X-Received: by 2002:a05:6a21:9983:b0:19a:ff19:367d with SMTP id ve3-20020a056a21998300b0019aff19367dmr873242pzb.78.1705592002789; Thu, 18 Jan 2024 07:33:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705592002; cv=pass; d=google.com; s=arc-20160816; b=XWP1SAMHjnikN2aFJDoZyA54AD84klyDwIOdXQX5lC3IVH9uN0wlaKCXwTDLrMEZhR JiRYOMbxAbPFzH3rnpBaFA2KTKzrbWKmL2T9wEoG252k8whV9RS3a2tVKvS3bU8Q3beK 71kOaDl/jc0a3fAaJ+tBCYns9UdD1XXWQYvCcw6oD4Xs7C7/XVyhfcKGo33BByS1C6nD u9O0sugyrXi37dZwoUyztwlxb4obEYFx99XIuze6whw8RfOsEhuwIw43nyFBStSrQPwX YYaYOAQ7Q7qM4lG6jeZjygHIjA30/TyWZ9TzIgGVC/tXsWPhccRKBzbDWdNBfLksLjP/ L+Xw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:mail-followup-to:message-id:subject:cc:to:from :date:dkim-signature; bh=QtGzXEjZvfwv4oPLBAYVuzl4Iju9e1VGGTpnPMHOa5o=; fh=Hu5+LZ3tkop0/gdyT5XSHiHJmO4jrhTG5d0U7QSwXY8=; b=Z7+LBnwkW7QtuC1mE3/7m86hD3Esp5cZiPuG+c45asopeyGqkfC3fa4lMuhewWefiN r7vFz4/MKIhDkDtHtUzar+2s5CoDp6ZS+bcuFdhVgKs7IBYUTxEaECokvMTXLW2HQdkb fWU2PfuG16PLD9ZZp9dLC1nZ+Zi8AyShN8N92OBiaUs6QOPO47oEX2rXfBltTPaeo+Ov LwH6KCtLUeY78VnIKDniW8VVmzv8xy2Jks2y2+xVHQGU9Ipz/aavy0ZUlX36rg57qcIo kagC0LhSOLccmR+lAvHtBvUNK5B6WwY7tCHAZOs2IXDhSdT1CyLOROdGis8bIAfYp9F/ acJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MKIroSt6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-30289-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30289-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k127-20020a632485000000b005cd84b844edsi1584007pgk.604.2024.01.18.07.33.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 07:33:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30289-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MKIroSt6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-30289-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30289-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 96BF5B21C1C for ; Thu, 18 Jan 2024 15:32:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 257A228DBB; Thu, 18 Jan 2024 15:32:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MKIroSt6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84BE92575C for ; Thu, 18 Jan 2024 15:32:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705591952; cv=none; b=E85aLseQ2pZPEQujQj1BTB1lNdTUwndeafMbBin2h00wxG7eaj2CO37ImnnaSWvK3XY/5sPP5qsxYgwoP0b1l2BaP/brJsdrk6/JW17NPIgUAsEqTZYGFnp4YRm9hR4mUpu+MQpnJG1JAmHiwlgOjIp0EiJ2qHsd/NfCeA+6pBI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705591952; c=relaxed/simple; bh=NH/52USESWX/025MLcTJ6cVm9KuDjzjd5hFj4uGgKqA=; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:MIME-Version:Content-Type:Content-Disposition; b=hi46o5Fho1EqeR3nz182EgP4xpn7QlB8YtxgZwcYNo/rnRWBH2iliwjc6fOZfCWhr4cCUn7AQX2z9NW/rwrIrKRRgZOKPt90NkcEVvLEyy2c4Iv5OB8RTEwk22nZLLg4pII8Qgo8/7p86Xig27At985fIcPqzwZZ2jwsbi5d++0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MKIroSt6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC7EAC433F1; Thu, 18 Jan 2024 15:32:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705591952; bh=NH/52USESWX/025MLcTJ6cVm9KuDjzjd5hFj4uGgKqA=; h=Date:From:To:Cc:Subject:From; b=MKIroSt6lXEKXaW8LCFPoSsCdjkVBNMdDh4OwkAUPMa+c4EeXxQZce1qojt4K+jRr zRPxQP/bhxY8ALNlY6DLgb1CfD9zdGxGXJLOKfJOJJkA8DA7ImEr5tGrVu2aMyLysj t0tuu2Eh/TOX4GmhS2m5JaWFUjVMLUbZKlxHNNBOPOd6LkTFG1zfMeC2C1o7Y5jIpT zynEbInLm74oT4C73gymPTjFaVj29z+ffyW18ObgO7XN91QrTC+ePQg/qvOQpyWOtw UhknVtn5vBVJAB5Z/WHPsKJsDvSV6krDZdqc9PEEUsuPwnkLuje+ZSXb7SGYichrxo 4W4dCQJSw/5rw== Date: Thu, 18 Jan 2024 23:32:24 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Yue Hu , David Howells , Jeff Layton , Christian Brauner , Matthew Wilcox , Chao Yu , Jingbo Xu Subject: [GIT PULL] erofs fixes for 6.8-rc1 Message-ID: Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Yue Hu , David Howells , Jeff Layton , Christian Brauner , Matthew Wilcox , Chao Yu , Jingbo Xu Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788442839918144180 X-GMAIL-MSGID: 1788442839918144180 Hi Linus, Could you consider this pull request for v6.8? It simply contains a fixed commit of the previous problematic one mentioned in [1] and a folio helper cleanup. All commits have been in -next and no potential merge conflict is observed. [1] https://lore.kernel.org/r/ZZ6M8CCkunjfbt+%2F@debian Thanks, Gao Xiang The following changes since commit 0dd3ee31125508cd67f7e7172247f05b7fd1753a: Linux 6.7 (2024-01-07 12:18:38 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.8-rc1-fixes for you to fetch changes up to 2b872b0f466d2acb4491da845c66b49246d5cdf9: erofs: Don't use certain unnecessary folio_*() functions (2024-01-15 23:52:52 +0800) ---------------------------------------------------------------- Changes since last update: - Fix a "BUG: kernel NULL pointer dereference" issue due to inconsistent on-disk indices of compressed inodes against per-sb `available_compr_algs` generated by Syzkaller; - Don't use certain unnecessary folio_*() helpers if the folio type (page cache) is known. ---------------------------------------------------------------- David Howells (1): erofs: Don't use certain unnecessary folio_*() functions Gao Xiang (1): erofs: fix inconsistent per-file compression format fs/erofs/decompressor.c | 2 +- fs/erofs/fscache.c | 6 +++--- fs/erofs/zmap.c | 23 +++++++++++++---------- 3 files changed, 17 insertions(+), 14 deletions(-)