From patchwork Wed Dec 6 15:08:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Konstantin Komarov X-Patchwork-Id: 17629 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4179642vqy; Wed, 6 Dec 2023 07:25:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7tW+R5J8NLCc9Zt+BcGGtwjyCl+0gMj5NbBWQonx0v5+HXlXwvHPm31VYLYSgcfopaH1H X-Received: by 2002:a05:6a20:394e:b0:18c:92f0:69c2 with SMTP id r14-20020a056a20394e00b0018c92f069c2mr822303pzg.39.1701876316718; Wed, 06 Dec 2023 07:25:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701876316; cv=none; d=google.com; s=arc-20160816; b=r1aYRbSJSAdK7fTPZYYIhwvkvFrVD1HQQgPYoVbCFFcb667vRiJyw21zGEYOZb6uNI 8rI0sougRjMM79YmsAi4gKIEy4DPYDEGympM4a7SK9Z/ar0pFc9AJhuhNGyOirICLmdj o6Mj3relRix0qMW0DtiA5Mt7nCnnVEbFkOMulu9htg2nazm/lCSy1T2XGdTxoZ5CPvCz +ul9PxVwCnJlS0d49pQV0iqd/l/Nenx1k9WFMIbeUNbGS+4ivoIjGPwNLjE/1KKttjWk 0Ddoy6G6xJ5AtRD2PWfQiKbDjdHz55a35GT9QwHE55cEloSS5pwgsPCZhjLNvXedoUSg cFxA== 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=24fZy/sgMaW82JR5E0MnWROlI1NKAwMnW1CVh0eH4aU=; fh=P7I85FIabZcM8ojWdeG8ABpTZepe/Xtte9jKWDfUHBM=; b=oYdtqVYqvGT+qQU6lJnWB7lu/WokH+2k3sTd2nIJbwFon7j1m3ekPAGtI/J7K1aJ05 xNeu4slYEa6NBcY1BlnCf2WD1zBzeaRXSdZgKKXsGMiz4WmblOjtCFimkYDtttOPhIlc BzDbCvk90+9mGf2LPUAHLTmxXhCClNnhf3MdfesisX5Ym7OjwwwO2kgV4F/k1BsdqwZj Nk55ZH/bIbii7HmgyxE4Ku00yr4mAheFdlLo+oSnmNragnAFEBINbxRdhmZ6O+BClesw SrvEaa+RhCgwNlXeF3KUZGXEwpdLy9O2r7wfwwunu6mae1PtKpJuE/oB4gAMW7SWvSix TVww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=gdyJ3AGY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id k24-20020a63f018000000b005c6c950c3bdsi50199pgh.642.2023.12.06.07.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 07:25:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=gdyJ3AGY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 45DF4833CE09; Wed, 6 Dec 2023 07:14:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442533AbjLFPOQ (ORCPT + 99 others); Wed, 6 Dec 2023 10:14:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379296AbjLFPOK (ORCPT ); Wed, 6 Dec 2023 10:14:10 -0500 Received: from relayaws-01.paragon-software.com (relayaws-01.paragon-software.com [35.157.23.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F1EAD65; Wed, 6 Dec 2023 07:14:16 -0800 (PST) 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 7D9731D0B; Wed, 6 Dec 2023 15:01:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1701874902; bh=24fZy/sgMaW82JR5E0MnWROlI1NKAwMnW1CVh0eH4aU=; h=Date:To:CC:From:Subject; b=gdyJ3AGYCLh4/ErqRngAwMEMdM9X/g/UMeFQa98F8s7+8IndIBSbFsUWQmVfZSNo1 vrcvB2u23hoIr1mTVs2Tm2M1kGg1EokLPIMS9ODB9rSSpU8tRwulvf90dDb/Z5yfVU LGJDWpi3IZa08yPjnS9VCwYvPxfXvIoeZehTiJk8= Received: from [172.16.192.129] (192.168.211.144) 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, 6 Dec 2023 18:08:06 +0300 Message-ID: <00fd1558-fda5-421b-be43-7de69e32cb4e@paragon-software.com> Date: Wed, 6 Dec 2023 18:08:05 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: CC: , From: Konstantin Komarovc Subject: [PATCH 00/16] fs/ntfs3: Bugfix and refactoring X-Originating-IP: [192.168.211.144] X-ClientProxiedBy: vobn-exch-01.paragon-software.com (172.30.72.13) To vdlg-exch-02.paragon-software.com (172.30.1.105) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 06 Dec 2023 07:14:48 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784546661036735600 X-GMAIL-MSGID: 1784546661036735600 This series contains various fixes and refactoring for ntfs3. Improved alternative boot processing, reduced stack usage. Konstantin Komarov (16):   fs/ntfs3: Improve alternative boot processing   fs/ntfs3: Modified fix directory element type detection   fs/ntfs3: Improve ntfs_dir_count   fs/ntfs3: Correct hard links updating when dealing with DOS names   fs/ntfs3: Print warning while fixing hard links count   fs/ntfs3: Reduce stack usage   fs/ntfs3: Fix multithreaded stress test   fs/ntfs3: Fix detected field-spanning write (size 8) of single field     "le->name"   fs/ntfs3: Correct use bh_read   fs/ntfs3: Add file_modified   fs/ntfs3: Drop suid and sgid bits as a part of fpunch   fs/ntfs3: Implement super_operations::shutdown   fs/ntfs3: ntfs3_forced_shutdown use int instead of bool   fs/ntfs3: Add and fix comments   fs/ntfs3: Add NULL ptr dereference checking at the end of     attr_allocate_frame()   fs/ntfs3: Fix c/mtime typo  fs/ntfs3/attrib.c  |  41 +++++----  fs/ntfs3/dir.c     |  44 ++++++---  fs/ntfs3/file.c    |  59 +++++++++---  fs/ntfs3/frecord.c |   5 +-  fs/ntfs3/fslog.c   | 218 ++++++++++++++++++++-------------------------  fs/ntfs3/fsntfs.c  |   5 +-  fs/ntfs3/inode.c   |  30 +++++--  fs/ntfs3/namei.c   |  12 +++  fs/ntfs3/ntfs.h    |   2 +-  fs/ntfs3/ntfs_fs.h |  11 ++-  fs/ntfs3/record.c  |  16 +++-  fs/ntfs3/super.c   |  47 ++++++----  fs/ntfs3/xattr.c   |   3 +  13 files changed, 302 insertions(+), 191 deletions(-)