From patchwork Tue Sep 26 09:54:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Konstantin Komarov X-Patchwork-Id: 14532 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1864260vqu; Tue, 26 Sep 2023 05:14:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0EXR0x41IVmesE2s8D8RjqFlUAecs3Dy1/+zyTLA9Xso2DNyiY5PK/q9Zv1f0GxI6dzqV X-Received: by 2002:a17:90b:38cd:b0:271:78a0:8ab2 with SMTP id nn13-20020a17090b38cd00b0027178a08ab2mr3341337pjb.24.1695730481896; Tue, 26 Sep 2023 05:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695730481; cv=none; d=google.com; s=arc-20160816; b=WSZMiDd4+CNQyqv1FUrkHx3wQEMzLZK/C2RW1cYnsthtq6wJLfApdPvzBaffw0Wq5A PlSK+TujhECsDyNDX5A54mbg+/jJ2+pTdhBBeBSKWmv8DtBd7m81BP1lQfFAeIfDU14v ENP7ehgoTZkc6VSNyncZ9leG9AwYUAn7vK089lDNQtBzBpuKIQX9FTAwNJU+dIjgl3zl 6zy3++NopTMNmPVyElG+xdxWvHzsMYWNhNVCYcYPzz3WJbX5OJcs6UHeRYQel2s2tK3S vQ0PVSb1JUG9PCKuk8BqApkpTjg9EL0+2qIuF4bDwSuNgmcBeTKq1UxoOqmukHj4JZHM cBGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:content-language :subject:from:user-agent:mime-version:date:message-id:dkim-signature :dkim-signature; bh=cgW4FIdgGbuvm9U/H1+L1e/9qzZXAm0KOwXO3mAfiYI=; fh=P7I85FIabZcM8ojWdeG8ABpTZepe/Xtte9jKWDfUHBM=; b=Z2GFQQlHbzUepXZvE+H+cecu44qKVa/yH2KmjDtl00kfxIz/mza2dUA3uiyPsVMc1i gIZmM2m42wPnNWR7xMnJj2iPaabjFZo5JNay0ygZAabY5I4sL9hi4qh+dj8kpk1rYW8I On8FLalBmECRGs11X7XUHUBzuU1YU/Hxa/IUX2gBYJf9VAINJilY62QniZLxSYjoxCg2 ymL6j8PAUQtgwIbhAxXYix/3yRbluGU7aNkMP5XRDASmDAPMBMV6IESGoHxQeDtOmF1k TA9Z9XwLtK52ZsBdBKBX7AasAZxe9uzwM4Q9+yd6CoQEunqlP9DWZ89kU7+iezGec2Ud bUMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=grMTRHSA; dkim=pass header.i=@paragon-software.com header.s=mail header.b="TT/k+3Sv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id il10-20020a17090b164a00b00278182c3af6si602800pjb.64.2023.09.26.05.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 05:14:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=grMTRHSA; dkim=pass header.i=@paragon-software.com header.s=mail header.b="TT/k+3Sv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 7CB258113EFD; Tue, 26 Sep 2023 03:03:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234345AbjIZKDm (ORCPT + 27 others); Tue, 26 Sep 2023 06:03:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234327AbjIZKDk (ORCPT ); Tue, 26 Sep 2023 06:03:40 -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 CB862B3; Tue, 26 Sep 2023 03:03:33 -0700 (PDT) Received: from relayfre-01.paragon-software.com (unknown [172.30.72.12]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id CA2BF21AE; Tue, 26 Sep 2023 09:48:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1695721710; bh=cgW4FIdgGbuvm9U/H1+L1e/9qzZXAm0KOwXO3mAfiYI=; h=Date:From:Subject:To:CC; b=grMTRHSAu06JyKVSu++6XnV9b84G4TL1gEoLd1A18NmlVCJdFKHM2QBBRe/PeqJvS QlEBKStigYa86i+KqKqfgzC9o3Tforv8/8kGZammSiA2PTkRp5lNxc+tRGpsoVelWH XQ+GIhZ8JWq16G51VUxonJjU0qvnAAY2r4/+VcwM= 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 270B41D45; Tue, 26 Sep 2023 09:54:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1695722061; bh=cgW4FIdgGbuvm9U/H1+L1e/9qzZXAm0KOwXO3mAfiYI=; h=Date:From:Subject:To:CC; b=TT/k+3Sv65rRZt/02mRwCkxiLKLKkOUuQ4xaD0ZGKMil5QDsNnUGfOga/0QrSeuYl G6IXfulL4m1mntNI/aplDVNtLqYfjsxyfTwH2ZUbYlNgtpBSsSw6RFzlIeRmzGYB18 DEBDhECVgZfY2ZUZSle6LGC25c+korSHhJCj5wvQ= Received: from [172.16.192.129] (192.168.211.137) 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; Tue, 26 Sep 2023 12:54:20 +0300 Message-ID: <7c217d7d-6ee4-4603-b5f1-ebe7b68cf430@paragon-software.com> Date: Tue, 26 Sep 2023 12:54:20 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Konstantin Komarovc Subject: [PATCH 0/8] fs/ntfs3: Bugfix and refactoring Content-Language: en-US To: CC: , X-Originating-IP: [192.168.211.137] 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=-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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 26 Sep 2023 03:03:49 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778102285570933030 X-GMAIL-MSGID: 1778102285570933030 This series contains various fixes and refactoring for ntfs3. Added more info into /proc/fs/ntfs3//volinfo Konstantin Komarov (8):   fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime   fs/ntfs3: Allow repeated call to ntfs3_put_sbi   fs/ntfs3: Fix alternative boot searching   fs/ntfs3: Refactoring and comments   fs/ntfs3: Add more info into /proc/fs/ntfs3//volinfo   fs/ntfs3: Do not allow to change label if volume is read-only   fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()   fs/ntfs3: Fix NULL pointer dereference on error in     attr_allocate_frame()  fs/ntfs3/attrib.c  | 12 ++++----  fs/ntfs3/bitmap.c  |  1 +  fs/ntfs3/file.c    |  4 +--  fs/ntfs3/frecord.c |  2 +-  fs/ntfs3/inode.c   |  5 ++--  fs/ntfs3/namei.c   |  6 ++--  fs/ntfs3/ntfs.h    |  2 +-  fs/ntfs3/ntfs_fs.h |  2 --  fs/ntfs3/record.c  |  6 ++++  fs/ntfs3/super.c   | 71 +++++++++++++++++++++++++++++++---------------  10 files changed, 70 insertions(+), 41 deletions(-)