From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EF57C4332F for ; Wed, 4 Jan 2023 18:39:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235313AbjADSjs (ORCPT ); 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 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(-)