Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2500870pxb; Sat, 25 Sep 2021 09:00:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYP2Y14Oz/UC9l1WuwXbwkctm1jvmuKGgZIRcmbKL/twwH5+3q5+x3c7Ozs/gZvXgeQPxi X-Received: by 2002:a05:6e02:1bc4:: with SMTP id x4mr12791370ilv.30.1632585646474; Sat, 25 Sep 2021 09:00:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632585646; cv=none; d=google.com; s=arc-20160816; b=Few5L3Do3jTPM/kgNdevcwrZo9DOgpwvWLTjU6pW2oP31kmXf/vrhkMvP5BOGVqsFh sxzTQXD1TisEj5H3w/QAwYDJ5ovGtx/y/1+LPidLD+qMnfHxyWxvqUmTKkn7Ii8bn3kH jcZHVjlxLLuBhs22KUFWGJIJ/YP5M2jwLBWq0vhsMsyp9zA98xVdEE47lPE2kgf8GkA3 8nT9K9KYmVQfsDEojoVzHok5AjbglcNibLxjY7M7tY8ieGvH/a/tjPig0VuGhw9C0fmE f42sfocbmhBDSQs5z0Q8V8k9vXSILemBHmBPMdn2dGLTmhwwC2Uy7O16NbnISC2w9+mR kuUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=lwnLd5O/+XP52BfESjQtBOZNUhdiUvyvWq7TiaMGuPY=; b=LfBZ73WoDsdAF7lfRQMJwJJ4tb2tnN37ZW8linPxLLaM7PZACZKGcM1lLv1GLxA7sY uVqiAkE4M4z13NJJC5zVrkmHRsSz6sEaKA0VTSH1BRJpluHi4VNnssighjU3vk3/562y vS4kTaSfAlSRkycTz0yjskPsiQlvnFqolcqnRqK2D1YnUJ0fVfnEtNOCZbka0eI58B0I CHYHCsSL8lq/NMEEEukK/JpQ6Pl5eMO2DvuK/2CxXc2sx7ALj7ScOLdI4uLKOeAnO6q0 LLtyz9RLklE5t7hrdA7Wc5BLlLAZfVyaQc7WuXRGF7I2qT+E/adPFuVApAqG/PG7P4Re i50w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DcLigCXJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p6si18448734jag.18.2021.09.25.09.00.33; Sat, 25 Sep 2021 09:00:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DcLigCXJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S237702AbhIYQB2 (ORCPT + 99 others); Sat, 25 Sep 2021 12:01:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:44592 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234075AbhIYQB1 (ORCPT ); Sat, 25 Sep 2021 12:01:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C0274610FD; Sat, 25 Sep 2021 15:58:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632585592; bh=WAwJ0O+4kCyValty29Ksr2SWwdodXAMeTHDUEnDGDYM=; h=Date:From:To:Cc:Subject:From; b=DcLigCXJtlu1DMG1XJ29mzkug5nIR1ZZX85k6kuviG43w9fQEMEvp6rf1bNC0Tena grawWtx1nCTh7lXawApXm2pWK9i66jt5KLNeLBkl/KaGCCfbGnORC+yZCKbnqHkjsn oB87mt1DUbOBgOnSl+TC8qo6cEAD0uKDxfeYwcTPXYbcPD+EhGgr2v7miImeBJPv5D RIb0dWprARJcN3KiCLB4uciY+97T8pYe9jBX4jLQmjjcchdv2IY17wUAkbv4TLijk4 1ktHPkzx/S5DBoXbNBcClHGdlGYZAMxrFkqeX8vVyNgkD2wmO4lBasCI2zQMax8AnR i/nOSe5YYQ/1w== Date: Sat, 25 Sep 2021 23:57:58 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Chao Yu , Miao Xie , Joseph Qi , Yue Hu , Liu Bo , Liu Jiang Subject: [GIT PULL] erofs fixes for 5.15-rc3 Message-ID: <20210925155757.GA22083@hsiangkao-HP-ZHAN-66-Pro-G1> Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Chao Yu , Miao Xie , Joseph Qi , Yue Hu , Liu Bo , Liu Jiang MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Could you consider this pull request for 5.15-rc3? 2 bugfixes are included in order to fix the 4KiB blockmap chunk format availability and a dangling pointer usage. There is also a trivial cleanup to clarify compacted_2b if compacted_4b_initial > totalidx. All commits have been in -next. This merges cleanly with master. Thanks, Gao Xiang The following changes since commit e4e737bb5c170df6135a127739a9e6148ee3da82: Linux 5.15-rc2 (2021-09-19 17:28:22 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-5.15-rc3-fixes for you to fetch changes up to c40dd3ca2a45d5bd6e8b3f4ace5cb81493096263: erofs: clear compacted_2b if compacted_4b_initial > totalidx (2021-09-23 23:23:04 +0800) ---------------------------------------------------------------- Changes since last update: - fix the dangling pointer use in erofs_lookup tracepoint; - fix unsupported chunk format check; - zero out compacted_2b if compacted_4b_initial > totalidx. ---------------------------------------------------------------- Gao Xiang (2): erofs: fix up erofs_lookup tracepoint erofs: fix misbehavior of unsupported chunk format check Yue Hu (1): erofs: clear compacted_2b if compacted_4b_initial > totalidx fs/erofs/inode.c | 2 +- fs/erofs/zmap.c | 3 ++- include/trace/events/erofs.h | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-)