From patchwork Wed Feb 15 13:33:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Konstantin Komarov X-Patchwork-Id: 5455 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp201783wrn; Wed, 15 Feb 2023 05:53:20 -0800 (PST) X-Google-Smtp-Source: AK7set9mBSTz/yjPa2jkDqXbMbo2B4GbpsMNe5LdSFbgh/hBHRuNG6os25f4w6AxIesu4WVr+3vP X-Received: by 2002:a17:906:c40a:b0:878:711f:f3d0 with SMTP id u10-20020a170906c40a00b00878711ff3d0mr2306107ejz.4.1676469199967; Wed, 15 Feb 2023 05:53:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676469199; cv=none; d=google.com; s=arc-20160816; b=1H78KHPkIfBV3VLWZzpSTDA9yJsAx7dQbJ+DKU3J4e4pTtVZVIFOkQFkEi2l+knRpH 3G0xPphHX8MrE6hPp8GNhmDJ23OlO9HqJ6dTlYV6NUo1FUSrRwpK96fA4cVlyT8fcwok JY7n+XjQv/f0wwNy/NkoblsSLfr+AvvWQGzwDp43r5lZrfAtBbTos3ykQh25R6/pT8yN paNpnyxCcQfktTmK8khkz/9WV9bz93HWfT/7Ln+iN6hB4hjVY2KmV48VaYz6OiCfeW3J R19/YkDwHecsq2slcT94DnqAXSsFLFtDBgWZ9p2dNPOZLwxJgN3UCrLUn7TtPZSH0Hu9 uYFQ== 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=NZPb6ApnwJMAApHEhGf4/rLuvvBZKCTDmGmIFpkr4eA=; b=mc3N187fM35TMOqa2EPWU5t/OujHKPofFzjFsq5eSE0FWYgWGtM5mPigJyserQCwkC 3C7QStTjd3wCqoF2EEiio2zqxkxsJxlr541/gGvo/rrMSryI4oPvG+pBcgmBBlz/gcan x00/wq/Ca1kTXh0Y+EIrrlQ6I7B4idMRQsvWDTicySP28i9oYhLl4xvcv7YXHdPnYIU9 OxZoBWmHa4k2gq4uGLEdr+IvOtEdmJepl9MCOF0e19njM2U0Wc2yA2IIdrzU6JPjfG9x 7PWspZjTFsMyBnkpEhxSKAXne7iCQ7QYv6t1fRfZGk0CtnY3lrjtFXtck9Cy5WWhzHEK Gd5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=PyicJA0d; 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 wi23-20020a170906fd5700b008b13161dfa8si4415231ejb.137.2023.02.15.05.52.55; Wed, 15 Feb 2023 05:53:19 -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=@paragon-software.com header.s=mail header.b=PyicJA0d; 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 S229628AbjBONlO (ORCPT + 99 others); Wed, 15 Feb 2023 08:41:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbjBONlM (ORCPT ); Wed, 15 Feb 2023 08:41:12 -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 42BCA392B7; Wed, 15 Feb 2023 05:41:09 -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 94D882117; Wed, 15 Feb 2023 13:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1676467759; bh=NZPb6ApnwJMAApHEhGf4/rLuvvBZKCTDmGmIFpkr4eA=; h=Date:To:CC:From:Subject; b=PyicJA0dJaD5NuEcGJuwebC87EDvYd6HprVt2WJAzyyRsTSGYOksBW23qjtRB/1VV 4A1uofaQztCf7lZSE8yIswKreWY+LxTSHZiewFDcV9pyEPv7+/NTAdmGGSUe/AeFIK eZOBO7keoAw36Nr2Fe+99bGl2f8gXszy/MNMsKIU= Received: from [192.168.211.36] (192.168.211.36) 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, 15 Feb 2023 16:33:29 +0300 Message-ID: Date: Wed, 15 Feb 2023 17:33:28 +0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Content-Language: en-US To: CC: Linux Kernel Mailing List , From: Konstantin Komarov Subject: [PATCH 00/11] fs/ntfs3: Bugfix and refactoring X-Originating-IP: [192.168.211.36] 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 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?1757905368171972975?= X-GMAIL-MSGID: =?utf-8?q?1757905368171972975?= This series contains various fixes and refactoring for ntfs3. Added error output on failed mount. Reworked some other error messages. Konstantin Komarov (11):   fs/ntfs3: Use bh_read to simplify code   fs/ntfs3: Remove noacsrules   fs/ntfs3: Fix ntfs_create_inode()   fs/ntfs3: Optimization in ntfs_set_state()   fs/ntfs3: Undo endian changes   fs/ntfs3: Undo critial modificatins to keep directory consistency   fs/ntfs3: Remove field sbi->used.bitmap.set_tail   fs/ntfs3: Changed ntfs_get_acl() to use dentry   fs/ntfs3: Code formatting and refactoring   fs/ntfs3: Add missed "nocase" in ntfs_show_options   fs/ntfs3: Print details about mount fails  Documentation/filesystems/ntfs3.rst |  11 --  fs/ntfs3/attrib.c                   |  17 +-  fs/ntfs3/bitmap.c                   |  22 +--  fs/ntfs3/file.c                     |  50 ++---  fs/ntfs3/frecord.c                  |  39 ++--  fs/ntfs3/fslog.c                    |  77 ++++----  fs/ntfs3/fsntfs.c                   |  73 +++----  fs/ntfs3/index.c                    |  58 +++---  fs/ntfs3/inode.c                    | 118 +++++------  fs/ntfs3/lznt.c                     |  10 +-  fs/ntfs3/namei.c                    |   9 +-  fs/ntfs3/ntfs_fs.h                  |  16 +-  fs/ntfs3/record.c                   |   9 +-  fs/ntfs3/run.c                      |   6 +-  fs/ntfs3/super.c                    | 291 ++++++++++++++++------------  fs/ntfs3/xattr.c                    |  64 +++---  16 files changed, 435 insertions(+), 435 deletions(-)