Message ID | 48fb5955-7d88-4133-8c85-47eb53248825@paragon-software.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1899716vqu; Tue, 26 Sep 2023 06:08:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEeWWU0lt8q9+UVuK8BVMuRBpBzSJHMnckPrrMgR8y/+SD67+/sZK/RBuSClDk+rNp5mj02 X-Received: by 2002:a05:6a20:9148:b0:15e:dc75:66a7 with SMTP id x8-20020a056a20914800b0015edc7566a7mr5753005pzc.24.1695733739373; Tue, 26 Sep 2023 06:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695733739; cv=none; d=google.com; s=arc-20160816; b=f77MY06Px+5kstmaouvWmrQiQT+F/hOEN9VAlgBJW9ijLiiuH1prh6BDac1W+dxhw9 oRk2h3YTlbBcb5jAAMKo2GzirW7uYuNIQZ5ZGvO9p4LkpGUExvzz1YZTg5y1cbEPPIXl dyVEMDP1LZW+DIncH5cKMjh2kX0U1LpK0dCk38yK2p4J9B8UwFBsZz0pPBFnmWFC0Lhd 6uMz8ohYkX6gIx51PTdik9QMcRqOq78ReUZ85Dwoyai9HiLGPaltIlsqkzyyTFISwAaM ISK2GSU+qG7Xz4dd/xXyEZawbSUCdGGPqLUme6yOHHTYmw4h0ZA0e2HEiUZnZWU4lEVd G3ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=kAFpjOH/j+mFhP/dbJ+h064bbKIbyxWjdj14UYWkif4=; fh=P7I85FIabZcM8ojWdeG8ABpTZepe/Xtte9jKWDfUHBM=; b=OYFTSEF963XDzphWi/+4GGppekpouvlYvzWcBoEIygKl4DdDMkStChNTR6nTs4tFSA Pm9Nvf1oqK+3V5wKGVTDo6F/A3s0n10VsNwsBgUujdKXFuqtwj6Dbm3e4gC7NP5zGEmZ uXC7RVe+uATdrX2zS28fmwPOIhJ4KHB1LoCw3evQX699Jao/7rOECRtedSHvEZgzLh0Z GsveXBZnsT1Yk1MoWtRjuGQZMuNM8ViFRHFEZIaPBRXy0+9f1nTCyhsYZhxgaJ9rWGYD fbxj1XRvi3wU4sBUX5OZjpcGFqikUjqSt8RW/7rzwMPrTByIiNrfmrGulDS/urgkqlRy GlUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=sf7vwL7p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id v17-20020a62c311000000b0068fb9c0bb07si12162165pfg.13.2023.09.26.06.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 06:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=sf7vwL7p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 8D991813CD91; Tue, 26 Sep 2023 03:03:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234354AbjIZKDr (ORCPT <rfc822;ruipengqi7@gmail.com> + 27 others); Tue, 26 Sep 2023 06:03:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233494AbjIZKDk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); 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 CB2359D; Tue, 26 Sep 2023 03:03:33 -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 2C14521B2; Tue, 26 Sep 2023 09:49:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1695721752; bh=kAFpjOH/j+mFhP/dbJ+h064bbKIbyxWjdj14UYWkif4=; h=Date:Subject:From:To:CC:References:In-Reply-To; b=sf7vwL7pD4XmCvSSu1u+/Qs9dywy2OUuIS41mzq8+6cDl7HRW58DdJE/pGbXdxG7W 8esrH546aBgfPm0c16uslwljvDC00HdawiqaakDlhlt6Lk1gGiaAgMwwUPVFNVKE/I ePGBBbv0r3b4HuOvkrncANp+eXRa5IeymtUbLlmM= 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:55:02 +0300 Message-ID: <48fb5955-7d88-4133-8c85-47eb53248825@paragon-software.com> Date: Tue, 26 Sep 2023 12:55:02 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH 1/8] fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime Content-Language: en-US From: Konstantin Komarovc <almaz.alexandrovich@paragon-software.com> To: <ntfs3@lists.linux.dev> CC: <linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org> References: <7c217d7d-6ee4-4603-b5f1-ebe7b68cf430@paragon-software.com> In-Reply-To: <7c217d7d-6ee4-4603-b5f1-ebe7b68cf430@paragon-software.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 26 Sep 2023 03:03:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778105701554076662 X-GMAIL-MSGID: 1778105701554076662 |
Series |
fs/ntfs3: Bugfix and refactoring
|
|
Commit Message
Konstantin Komarov
Sept. 26, 2023, 9:55 a.m. UTC
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
---
fs/ntfs3/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c index eb2ed0701495..2f76dc055c1f 100644 --- a/fs/ntfs3/inode.c +++ b/fs/ntfs3/inode.c @@ -170,8 +170,8 @@ static struct inode *ntfs_read_mft(struct inode *inode, nt2kernel(std5->cr_time, &ni->i_crtime); #endif nt2kernel(std5->a_time, &inode->i_atime); - ctime = inode_get_ctime(inode); nt2kernel(std5->c_time, &ctime); + inode_set_ctime_to_ts(inode, ctime); nt2kernel(std5->m_time, &inode->i_mtime); ni->std_fa = std5->fa;