From patchwork Wed Mar 1 13:38:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Namjae Jeon X-Patchwork-Id: 62898 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3636522wrd; Wed, 1 Mar 2023 05:40:48 -0800 (PST) X-Google-Smtp-Source: AK7set9y7Ud9piGsxs+6EEkx6RIaFYrbXgLm0RmQBET3fksZeGu2gf3HO917nrCrvyUPkvgIiUA5 X-Received: by 2002:aa7:c715:0:b0:4af:601e:6034 with SMTP id i21-20020aa7c715000000b004af601e6034mr6751272edq.42.1677678047903; Wed, 01 Mar 2023 05:40:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677678047; cv=none; d=google.com; s=arc-20160816; b=BwZ84ZClpotHzI8cYpl94+c1m3jHmffdJDc8Pk1BhbFCPvVSCEkZqrkmAZSpdRDnwB kyZoTDGt6i8VSl6wpb71IowePiYa1X1vWhS8KMFFTpd0GVRQ3XyreCuWNsf4a+5Fyaoh wdtpT2zb4b3A+7kF3NnDkC9nvfzKkSipGKXoRdn5h8h/irsaKHiY2OA/enQZdkWS7jOS wScD+7tkPvtqSdqL0FENoBl1GzdZmiIbQt8bD3W5HbMHe9+WVLaxsHYUfBQjWWHhes/g ZOGczfx/MUmcFQibNoebcSNsEnyRkTAVbKnypRucE/Se+j7mC2IXPYROoLQ4cIoLarma 8I4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=Xo4Z9XiML+ec6K4Ewtjcn0iorHT3ELX1w3+b+1fEeRo=; b=WXBrlyxPKQXnrXI1CsPo6ThG9LIEpTuOm43iLk16xilCB99s1Z7tJuj/faCrtxnT0I YSrlAua/E39KuKjU7E4jZ+GYe28WpGZ9zqdgBvJ7UwnqMqgRuuW0QSiSnWvGq4L9gfuR +dFCzH/9BAl7TOMTSfgTYfREu1Wbo0khqIJG18BEqA86hNOKc6qQk7cd6/x4HgHuk+8Q BW/UdpbSqFsb4v3ltXQnWlwTG/KwqVv/YeuqAioQvsJgcakVogfjTiKGKlTkSZGfgf0J HAYNl946Fm7yiCj/x3NsF87i1ri4Wx0pIXnVk0a9SGjQMcwqxAq+3S0KBrvRElJKFZKZ N+hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WflKnS67; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a1709067d5200b00906314690c0si1828803ejp.752.2023.03.01.05.40.25; Wed, 01 Mar 2023 05:40:47 -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=WflKnS67; 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 S229540AbjCANia (ORCPT + 99 others); Wed, 1 Mar 2023 08:38:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbjCANiV (ORCPT ); Wed, 1 Mar 2023 08:38:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C46E732CD5 for ; Wed, 1 Mar 2023 05:38:19 -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 60C1F6121F for ; Wed, 1 Mar 2023 13:38:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C467EC433D2 for ; Wed, 1 Mar 2023 13:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677677898; bh=I87h7ETny0tLZvE2H5MvVi3ThxSYnB3UYA46KZvxVtc=; h=From:Date:Subject:To:Cc:From; b=WflKnS67ITboWuVNfiIwDFuoWgdUmn+ZFcI3l8FuZNOO2CeWFfUnLBZjzJNWvYqeW q64RLUU5SN4z0vxm9VsM1wJqUQLH8ETrFAfBwZRTT14/I5rycP73PgaJWLSyhkj/h/ INZLujHQ/RfC92oBtVGhMoYZtoHazbEocX50DnrHFbPI1npgecZF0HKG75wf6PFGPn +X5LOfBnOK5Hm99WW44n/aeqND7n7ZX68ssvOdg4ESUyvkUAJFr0D6CvhiDoY4X+J5 ozuDuhw23UP0FL6dnptH2csD2wiWAxcvS2877pUacFI6c3C+FAHEJYWS/Ygq+OqdXy wCx26+D95J5IA== Received: by mail-oi1-f179.google.com with SMTP id r40so9717814oiw.0 for ; Wed, 01 Mar 2023 05:38:18 -0800 (PST) X-Gm-Message-State: AO0yUKVIbZMA7fC79RPj3h4jDYvDsXpkl1wkKK/Ngdm7ClSPuFiIt5j3 NS2Tvp9Ny06H1TKGjR+ZxcJRMPBJLZSx8yqbD1U= X-Received: by 2002:aca:1004:0:b0:384:33df:4dfc with SMTP id 4-20020aca1004000000b0038433df4dfcmr2146036oiq.11.1677677897896; Wed, 01 Mar 2023 05:38:17 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ac9:67ca:0:b0:4c2:5d59:8c51 with HTTP; Wed, 1 Mar 2023 05:38:17 -0800 (PST) From: Namjae Jeon Date: Wed, 1 Mar 2023 22:38:17 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL] exfat update for 6.3-rc1 To: Linus Torvalds Cc: Linux Kernel Mailing List , Sungjong Seo 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759172936960003752?= X-GMAIL-MSGID: =?utf-8?q?1759172936960003752?= Hi Linus, This is exfat update pull request for v6.3-rc1. I add description of this pull request on below. Please pull exfat with following ones. Thanks! The following changes since commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c: Linux 6.2 (2023-02-19 14:24:22 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git tags/exfat-for-6.3-rc1 for you to fetch changes up to d5c514b6a0c0b77ed7e5ef2484e8b20eb09c5f27: exfat: fix the newly allocated clusters are not freed in error handling (2023-02-28 20:01:40 +0900) ---------------------------------------------------------------- Description for this pull request: - Handle vendor extension and allocation entries as unrecognized benign secondary entries. - Fix wrong ->i_blocks on devices with non-512 byte sector. - Add the check to avoid returning -EIO from exfat_readdir() at current position exceeding the directory size. - Fix a bug that reach the end of the directory stream at a position not aligned with the dentry size. - Redefine DIR_DELETED as 0xFFFFFFF7, the bad cluster number. - Two cleanup fixes and fix cluster leakage in error handling. ---------------------------------------------------------------- Namjae Jeon (1): exfat: handle unreconized benign secondary entries Sungjong Seo (1): exfat: redefine DIR_DELETED as the bad cluster number Yuezhang Mo (6): exfat: fix unexpected EOF while reading dir exfat: fix reporting fs error when reading dir beyond EOF exfat: fix inode->i_blocks for non-512 byte sector size device exfat: remove unneeded code from exfat_alloc_cluster() exfat: don't print error log in normal case exfat: fix the newly allocated clusters are not freed in error handling fs/exfat/dir.c | 90 ++++++++++++++++++++++++++++++++++------------------ fs/exfat/exfat_fs.h | 4 ++- fs/exfat/exfat_raw.h | 21 ++++++++++++ fs/exfat/fatent.c | 32 +++++++------------ fs/exfat/file.c | 3 +- fs/exfat/inode.c | 6 ++-- fs/exfat/namei.c | 2 +- fs/exfat/super.c | 3 +- 8 files changed, 101 insertions(+), 60 deletions(-)