Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13650329rwl; Wed, 4 Jan 2023 11:01:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXuE1z03z32AaG3rXOKAvVMxfS7w4L2Lqg4h8n1cEIWdKp5pPiK0pn0iptmuBeX7R+Pop9xV X-Received: by 2002:a17:903:2c5:b0:192:cf35:3ff8 with SMTP id s5-20020a17090302c500b00192cf353ff8mr11379485plk.21.1672858869723; Wed, 04 Jan 2023 11:01:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672858869; cv=none; d=google.com; s=arc-20160816; b=M0UMUoI+Qby9/RhoV6zQ3iG8X1VWwa/D5YSuiO97oc4nInRCIU76Y1RHGA32nNjRAD UOppzZh4e2GpN1c6UGwGubcA2DOjN97QBh3/o+HGoQx/5X/Rb/3xiSEIrK8NXemUi7tH /0kV83SZ8kfcGVL7uw3nPcKXwgl5/CDt3Xej4SPk/8raM3KLgC1A65OMtOUoFC2/r2Rp IL8rAqPbbLMlMNmQszNBgNImsclMC4zj2x5au695wiifUNONRtooupwuu12zAM18vKYu DRowvahCzTUV7Lz5/Uy0QiuM6UgGT4AaNCZhasPB8Du//AuQGjdIvoEtpKD4ZUXn0bIs Y+RA== 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=OV+LvgRYUK0qUr93kisnVLi2WZ1tw9zWIivRsspmnkA=; b=nQ1152ud3i1P5SEMNtAQ6XQurbW1mw+EMmNeW9mYgpd2LtfS0bVUcYatD2gQRdTjIb Y7ceOXFp8L7h9saJ1BErKtrL49CxB89TBrMNB2+JrEqGoNh4IN4xmtVxV6sw0Lc+3T3L 1bFgJBso5CkVWpP+vC9D6rjyBcw9izNOFl6oURJ8kLE8u8pQCMxCQOQbpjujJflRuyvx EjlbequStML1FcMCrl7tBcNZNHpzV3d9Io8CQfwGn+VKRd15uCntpon2UUEhkSwi5H8W x8A4xOBrCuZtKbBrg2gOgqe08lJkkC+QZgD+YMTJPwJzEqr/XzAO55/IEuqKL9IDnvdw MCQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hhK5e4kS; 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 e19-20020a170902e0d300b00188fce355c9si32123380pla.42.2023.01.04.11.01.02; Wed, 04 Jan 2023 11:01:09 -0800 (PST) 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=hhK5e4kS; 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 S239685AbjADSjs (ORCPT + 56 others); Wed, 4 Jan 2023 13:39:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233776AbjADSjq (ORCPT ); Wed, 4 Jan 2023 13:39:46 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAB4617406 for ; Wed, 4 Jan 2023 10:39:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 51CD3617E1 for ; Wed, 4 Jan 2023 18:39:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93CE2C433EF; Wed, 4 Jan 2023 18:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672857583; bh=8ga8ySSJ1fC4ktF45D7o9yH4mmlkK2JDpm4yXrP3Nks=; h=Date:From:To:Cc:Subject:From; b=hhK5e4kSZ/5JDbyvvR3xoEcxNFV+AqX1zjFRbK+nnpwy8KFEs5ZaVm/NSL/xIpd27 i2Y2rbWBwphzy0PA6WzcGE80YTNvk5J29EId7bhe8acNaDYusjRsKkJhocMNVJLDx0 dcj5kxqJJDysDCMkecf3+l1/m6OwYHpMBs5zebdy9p+V74QvvBZUv2b5wd7bAEZSNb PyviPIbhNo+2JPnP16UNteYK2FT/jtCzfFiQ52qTBm9U1UnjOfOfK3ZmKVQpgQq6pE cQJqUG2S9uJtk7HWhVsoWC+FP590p2n1gQS1L8TH5MO4B+dKhi/1Jqd8iMsuVfZy4z pSpNz2aIFnZLA== Date: Wed, 4 Jan 2023 10:39:41 -0800 From: Jaegeuk Kim To: Linus Torvalds Cc: Linux F2FS Dev Mailing List , Linux Kernel Mailing List Subject: [GIT PULL] f2fs fix for 6.2-rc3 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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, Could you please consider this pull request? Thanks, The following changes since commit 69b41ac87e4a664de78a395ff97166f0b2943210: Merge tag 'for-6.2-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (2023-01-02 11:06:18 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-fix-6.2-rc3 for you to fetch changes up to df9d44b645b83fffccfb4e28c1f93376585fdec8: f2fs: let's avoid panic if extent_tree is not created (2023-01-03 08:59:06 -0800) ---------------------------------------------------------------- f2fs-fix-6.2-rc3 This series fixes the below three bugs introduced in 6.2-rc1. - fix a null pointer dereference in f2fs_issue_flush, which occurs by the combination of mount/remount options. - fix a bug in per-block age-based extent_cache newly introduced in 6.2-rc1, which reported a wrong age information in extent_cache. - fix a kernel panic if extent_tree was not created, which was caught by a wrong BUG_ON. ---------------------------------------------------------------- Chao Yu (1): f2fs: fix to avoid NULL pointer dereference in f2fs_issue_flush() Jaegeuk Kim (4): f2fs: initialize extent_cache parameter f2fs: don't mix to use union values in extent_info f2fs: should use a temp extent_info for lookup f2fs: let's avoid panic if extent_tree is not created fs/f2fs/data.c | 2 +- fs/f2fs/extent_cache.c | 34 ++++++++++++++++++---------------- fs/f2fs/file.c | 2 +- fs/f2fs/segment.c | 13 +++++-------- 4 files changed, 25 insertions(+), 26 deletions(-)