Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5028630rwb; Wed, 17 Aug 2022 09:47:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR6cq9g/fLHaqTS2OKF8BVSfOjiE1UfmgRuM+RKM2AghFbrDnbgQnPKS8j0ROzV1QsImmHB1 X-Received: by 2002:aa7:d59a:0:b0:441:ecc9:f33e with SMTP id r26-20020aa7d59a000000b00441ecc9f33emr24505074edq.173.1660754879486; Wed, 17 Aug 2022 09:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660754879; cv=none; d=google.com; s=arc-20160816; b=cTMptOXNuHTD0w37md67442dPcEQebuqHUIlKzBIJ5dN/jPQArMbMPYXIXmrTSZUKO eCrorU3zon/truloZQ3g8adTCwSs2C7ow9JMOb98NnlzZPUq/uVeWuS4iJ/UD9HH+JEB R0UiHJbrXtY63jfMPegm4ERHytL/AvULftJjBekgi4LPpbKSczzaLRPjJK0paL9G6byA QWB34NeI4Y6DCHVe6RveUg+ndkQSbGQ3uVhizLcrwCwwTIvtmRFgOnGvm6L23mfTBatz 2tc3wy00MJidNDFDTc7nc2cc2VQvq98i7NvTmtOiD3daKeBZzpVCyq25FR4Yx4oXA89i OCxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=EHA8PmNWIXmclwoQXYiUp1GSP3DqbAL/8zItVTO2gng=; b=ZzpAkb62XEWEfURMPpMUOBf8b9+x09gKrjhxnp+NKCHTw5M+O1CrFCYSw2JUDHoUQf fTGH5BRQbdbh39Sqs2orwtKYnb1P2VItPlJ+VmdOqY17RLUgOOPNMPtL1cSvGam+Wxxi DdjAFkc2NK9D9RNeuKOTCXwsvfqq1oruqPPxuo368UWV5Fa3Gp9yIZ8iYIgv6pJdIiB+ FJzJvxUW2CDQORz1lirZqOCwW0G5Joi90nTKtI+1Z5N+LhFQC2w8w+1JeQcfj49bzn0i vSIFy165yYGWmtCb0fvs6qxn3iP0zdURcGb5KPZjz4jMT3QCqyfNDD2tuxG/+QBgj5XE dfhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=eTPt7DTK; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ka1-20020a170907990100b007311eb6b78dsi2115574ejc.150.2022.08.17.09.47.33; Wed, 17 Aug 2022 09:47:59 -0700 (PDT) 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=@paragon-software.com header.s=mail header.b=eTPt7DTK; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232330AbiHQQoB (ORCPT + 99 others); Wed, 17 Aug 2022 12:44:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240422AbiHQQn6 (ORCPT ); Wed, 17 Aug 2022 12:43:58 -0400 Received: from relayaws-01.paragon-software.com (relayaws-01.paragon-software.com [35.157.23.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77CB630F6E; Wed, 17 Aug 2022 09:43:53 -0700 (PDT) Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id 7CEA92147; Wed, 17 Aug 2022 16:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1660754534; bh=EHA8PmNWIXmclwoQXYiUp1GSP3DqbAL/8zItVTO2gng=; h=Date:To:CC:From:Subject; b=eTPt7DTKPc4x3xuSpmh5lDYpIqjPaka20te2ilGPqiNd/POTi/XPcLQ1xqkRGc/Tv ZR1VszXzN4s4kOIzhVK6GhAMcn57I2rKJ0j7DkHchTdn/Sekqi9IL1SOhQesdLQB7h 4uuyjC1fB596qJg52V3D3GryuP+Kt+4sA9JuDaG0= Received: from [172.30.8.65] (172.30.8.65) by vdlg-exch-02.paragon-software.com (172.30.1.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 17 Aug 2022 19:43:51 +0300 Message-ID: Date: Wed, 17 Aug 2022 19:43:51 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: CC: , , From: Konstantin Komarov Subject: [GIT PULL] ntfs3: bugfixes for 6.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [172.30.8.65] X-ClientProxiedBy: vdlg-exch-02.paragon-software.com (172.30.1.105) To vdlg-exch-02.paragon-software.com (172.30.1.105) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, Please pull this branch containing ntfs3 code for 6.0. Fixed: - some logic errors; - fixed xfstests (tested on x86_64) generic/064 generic/213 generic/300 generic/361 generic/449 generic/485; - some dead code was removed or refactored. Most of the code was in linux-next branch for several weeks, but there are some patches, that were in linux-next branch only for a week. Regards, Konstantin ---------------------------------------------------------------- The following changes since commit 724bbe49c5e427cb077357d72d240a649f2e4054: fs/ntfs3: provide block_invalidate_folio to fix memory leak (Mon May 30 13:36:45 2022 +0200) are available in the Git repository at: https://github.com/Paragon-Software-Group/linux-ntfs3.git ntfs3_for_6.0 for you to fetch changes up to d4073595d0c61463ec3a87411b19e2a90f76d3f8: fs/ntfs3: uninitialized variable in ntfs_set_acl_ex() (Mon Aug 8 11:34:41 2022 +0300) ---------------------------------------------------------------- Christophe JAILLET (1) fs/ntfs3: Remove a useless test Colin Ian King (3) fs/ntfs3: Remove duplicated assignment to variable r fs/ntfs3: Remove redundant assignment to variable vcn fs/ntfs3: Remove redundant assignment to variable frame Yan Lei (1) fs/ntfs3: Fix using uninitialized value n when calling indx_read Yang Xu (1) fs/ntfs3: Use the same order for acl pointer check in ntfs_init_acl Dan Carpenter (3) fs/ntfs3: uninitialized variable in ntfs_set_acl_ex() fs/ntfs3: Unlock on error in attr_insert_range() fs/ntfs3: Don't clear upper bits accidentally in log_replay() Pavel Skripkin (2) fs/ntfs3: Make ntfs_update_mftmirr return void fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr Li Kunyu (1) fs/ntfs3: Remove unnecessary 'NULL' values from pointers Jiapeng Chong (1) fs/ntfs3: Remove unused function wnd_bits Konstantin Komarov (26) fs/ntfs3: Make ni_ins_new_attr return error fs/ntfs3: Create MFT zone only if length is large enough fs/ntfs3: Refactoring attr_insert_range to restore after errors fs/ntfs3: Refactoring attr_punch_hole to restore after errors fs/ntfs3: Refactoring attr_set_size to restore after errors fs/ntfs3: New function ntfs_bad_inode fs/ntfs3: Make MFT zone less fragmented fs/ntfs3: Check possible errors in run_pack in advance fs/ntfs3: Added comments to frecord functions fs/ntfs3: Fill duplicate info in ni_add_name fs/ntfs3: Make static function attr_load_runs fs/ntfs3: Add new argument is_mft to ntfs_mark_rec_free fs/ntfs3: Remove unused mi_mark_free fs/ntfs3: Fix very fragmented case in attr_punch_hole fs/ntfs3: Fix work with fragmented xattr fs/ntfs3: Make ntfs_fallocate return -ENOSPC instead of -EFBIG fs/ntfs3: extend ni_insert_nonresident to return inserted ATTR_LIST_ENTRY fs/ntfs3: Check reserved size for maximum allowed fs/ntfs3: Do not change mode if ntfs_set_ea failed fs/ntfs3: Enable FALLOC_FL_INSERT_RANGE fs/ntfs3: Fallocate (FALLOC_FL_INSERT_RANGE) implementation fs/ntfs3: Add missing error check fs/ntfs3: Fix missing i_op in ntfs_read_mft fs/ntfs3: Refactor ni_try_remove_attr_list function fs/ntfs3: Fix double free on remount fs/ntfs3: Refactoring of indx_find function fs/ntfs3/attrib.c | 557 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------ fs/ntfs3/bitmap.c | 12 +--- fs/ntfs3/file.c | 110 +++++++++++++++++------------ fs/ntfs3/frecord.c | 128 +++++++++++++++++++++++---------- fs/ntfs3/fslog.c | 4 +- fs/ntfs3/fsntfs.c | 92 +++++++++++++++--------- fs/ntfs3/index.c | 33 ++++----- fs/ntfs3/inode.c | 19 ++--- fs/ntfs3/namei.c | 6 +- fs/ntfs3/ntfs_fs.h | 16 +++-- fs/ntfs3/record.c | 27 +------ fs/ntfs3/run.c | 108 +++++++++++++++++++++++----- fs/ntfs3/super.c | 17 +++-- fs/ntfs3/xattr.c | 35 +++++---- 14 files changed, 835 insertions(+), 329 deletions(-)