Message ID | b21a4bc9-166d-2631-d73b-cb4e802ff69e@paragon-software.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2128767vqo; Mon, 8 May 2023 05:49:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ79RxWr2KJG7tykx1V2PHcATh1FC4iNTdV77BtFIr+9W2akeqfi4Kl54rXIAiN6nxLqAyh7 X-Received: by 2002:a05:6a00:a14:b0:639:a518:3842 with SMTP id p20-20020a056a000a1400b00639a5183842mr14103189pfh.7.1683550158840; Mon, 08 May 2023 05:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683550158; cv=none; d=google.com; s=arc-20160816; b=grgnY1zmYsthDFzqWpm4qC7Ypj+vRNzBUHRG1SQH0gjka3IpQp4pARvEnUj7VBREi8 3iJCOh7tgm3xmkVenOXwzKnGB7XK9rYxCwEq7zpOlul6WtC73A6vEuLDlBXF4KzzC5lD IPgmX/OSZ4anIwtPMryUlfieyQepuZ/5Hps3DDhuEokQ3n9obwqO5guIz95W0QGHZzZf XVaRY1W2yWMP9QwkPi8c5PYnd8IdMLs9m+oxE+gqm1y/FIL+27vsI3o2ED7CgvUAH8se cKX9DB+327TEEbRx+LfP2Kdq6UiY4zOVydoudpldworofot1BIAYUMADqX8PGTp05heX bVUg== 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:dkim-signature; bh=9begeHXraN6fo2OStpq54sEXJ2GZ2yKBbkYdZ+ALqSI=; b=jch1nMXUdWRVIQOGtobljlv+5Qkws3n0B2BHmJvHcd0PDGQwXxX4s2ybY8FI/Kn4uh 0Fq2PcTMg77LDCPBT2URDxAyDq/sH/OfIZj83oWKoB5FzCNCrx97IJs5+DcJO8MrKluF bw1esP2A/z1EFt5xXz+ZyfVQJjXZjTEILy3oKgei34ECZkVuUfVYks+1nR8ZO14qWniM n03L/GCmPWUigm/9lET3XGS8kMGSPQnoWPLDN7tPCd/WW+HDdNgZJmzLA/Et6EKoTO0d 20MRnoq23/P8kW7nRqM5Xw20lfuuKpXLrQ6YF1CPPOsqNAZiubo4j41kh7Wy4NuF6L9D fgwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=WZK6Nzzw; dkim=pass header.i=@paragon-software.com header.s=mail header.b=PQx5VbI2; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a204-20020a621ad5000000b0063b5e220edasi8150569pfa.400.2023.05.08.05.49.04; Mon, 08 May 2023 05:49:18 -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=WZK6Nzzw; dkim=pass header.i=@paragon-software.com header.s=mail header.b=PQx5VbI2; 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 S234126AbjEHMfK (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Mon, 8 May 2023 08:35:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbjEHMfI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 8 May 2023 08:35:08 -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 516E04C16; Mon, 8 May 2023 05:35:07 -0700 (PDT) Received: from relayfre-01.paragon-software.com (unknown [172.30.72.12]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id B8E2721BF; Mon, 8 May 2023 12:30:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1683549018; bh=9begeHXraN6fo2OStpq54sEXJ2GZ2yKBbkYdZ+ALqSI=; h=Date:To:CC:From:Subject; b=WZK6NzzwX0zGm1dTq7VLEVZd8DNjIMkEL6ZocCOh277Z6HcwFienO2gaNkwvCYf8j 7IgKAXygJP5j+hfL4qkaZgRYLQ3DechvcFIyE/EUMbqbuwu6e9d+RruKvAzm46ZRHN dmLjIBTD1YVkdpKzYme7Y9xmsxZo4PubflItDp1E= Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relayfre-01.paragon-software.com (Postfix) with ESMTPS id 69342218A; Mon, 8 May 2023 12:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1683549305; bh=9begeHXraN6fo2OStpq54sEXJ2GZ2yKBbkYdZ+ALqSI=; h=Date:To:CC:From:Subject; b=PQx5VbI2bJrfsBUbl7lsC6ghYs77Fc1hDyRkQacBDPTBlqyPDTcRRPCggLqHBXHy0 i6QgLRZsDQin8BlqbupQzvnQCRIgJdoTc2ulWYrgjw85ZSqra86jE4BPyGUs8FtwBD Qs5OfztonrHZBxIQi7wKNDiXnlfNaSiQ7QWn3LrI= Received: from [192.168.211.146] (192.168.211.146) 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; Mon, 8 May 2023 15:35:04 +0300 Message-ID: <b21a4bc9-166d-2631-d73b-cb4e802ff69e@paragon-software.com> Date: Mon, 8 May 2023 16:35:04 +0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Content-Language: en-US To: <ntfs3@lists.linux.dev> CC: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org> From: Konstantin Komarov <almaz.alexandrovich@paragon-software.com> Subject: [PATCH 00/10] Refactoring and bugfix Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.211.146] 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=-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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765330291058140151?= X-GMAIL-MSGID: =?utf-8?q?1765330291058140151?= |
Series |
Refactoring and bugfix
|
|
Message
Konstantin Komarov
May 8, 2023, 12:35 p.m. UTC
This series contains various fixes and refactoring for ntfs3. The loading has been slightly revised. Added support /proc/fs/ntfs3/<dev>/volinfo and /proc/fs/ntfs3/<dev>/label. Konstantin Komarov (10): fs/ntfs3: Correct checking while generating attr_list fs/ntfs3: Fix ntfs_atomic_open fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted fs/ntfs3: Alternative boot if primary boot is corrupted fs/ntfs3: Do not update primary boot in ntfs_init_from_boot() fs/ntfs3: Code formatting fs/ntfs3: Code refactoring fs/ntfs3: Add ability to format new mft records with bigger/smaller header fs/ntfs3: Fix endian problem fs/ntfs3: Add support /proc/fs/ntfs3/<dev>/volinfo and /proc/fs/ntfs3/<dev>/label fs/ntfs3/attrib.c | 2 +- fs/ntfs3/attrlist.c | 3 +- fs/ntfs3/bitmap.c | 10 +- fs/ntfs3/file.c | 4 +- fs/ntfs3/frecord.c | 54 +++++---- fs/ntfs3/fslog.c | 40 +++---- fs/ntfs3/fsntfs.c | 99 ++++++++++++---- fs/ntfs3/index.c | 20 ++-- fs/ntfs3/inode.c | 23 ++-- fs/ntfs3/lznt.c | 6 +- fs/ntfs3/namei.c | 31 ++--- fs/ntfs3/ntfs.h | 117 +++++++++++-------- fs/ntfs3/ntfs_fs.h | 31 ++--- fs/ntfs3/record.c | 10 +- fs/ntfs3/run.c | 4 +- fs/ntfs3/super.c | 279 ++++++++++++++++++++++++++++++++++++++------ fs/ntfs3/xattr.c | 16 ++- 17 files changed, 516 insertions(+), 233 deletions(-)