From patchwork Wed Dec 6 15:14:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Konstantin Komarov X-Patchwork-Id: 174639 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4179531vqy; Wed, 6 Dec 2023 07:25:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8xBaVTtoahPufIw/QdDuPnAFzFCruaUzGFWcNWIc8r2Fa6mFQBuUp445CCBxgR4I+YA/J X-Received: by 2002:a05:6a20:3c93:b0:18f:221b:52a8 with SMTP id b19-20020a056a203c9300b0018f221b52a8mr981549pzj.59.1701876306795; Wed, 06 Dec 2023 07:25:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701876306; cv=none; d=google.com; s=arc-20160816; b=ro4facCtDG/vDH6L/yYF5twaD31PbDmFSaaaTvP1XLd5IItCgItvnG8+zyletib+dC loL+PLXQFCSBEMlX3SluW2Ti3w8uwHasfH9nJ6cwMUPprREf2iyfik4cCi3qPSAOURBI gBIRbDTJYwLIRBnCAqPcKObbq/ZRzsSyh6EK8oplYlaabiWF2ZUe2ObEHLK7qPjNVGMc Mo8W/IS1OPLXMIXO0ViUefiRLTKU/T44Gcd/u0QPim90pjTCSMZpCP+/AjWTpCKMKix6 ydB9qLWvKPpMCLDWxmEXCZOdMgj1bVdWBhNbeZjqHzWgRcXNGVbeCtn1Dy6KjWf+Hgq2 qe8A== 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=nuQ7oyEDVSuk9DOyuMG/cLB7BA1E7v6X/Af9iud7LTk=; fh=P7I85FIabZcM8ojWdeG8ABpTZepe/Xtte9jKWDfUHBM=; b=Pusd8jgVCno7yX0xu8vo41m13i9uGGnGLXrpO5PLWrQaRw+sn9jArZdbsMkZCfZTnV c1BTHVua9caArFeywkhT5R7vpfRXVCg9cCsxIyL1IPtbvWosinJwMp2J/H8KmJKh5sIV PrTYqlJ6M2kuuoR8LY9b9k76gen/gajkogfota3s5SAn16fGCQk90umd/XKw5xgz0XsS 6QjV+PN33sOL38WPgTP3CpHj8PkJ4xWPVhsoAMpqZJRp93Tl/ypiQ46x9EKwnJHEoGfC Gf5/BoUh/uetqfecTK846PVwdC9MsltC8e8tOFiMbHaTQxa2si47HTxAHzjTIY24gJpr RQXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=b9ns4krg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id jc15-20020a056a006c8f00b006c8d6276334si114631pfb.140.2023.12.06.07.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 07:25:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=b9ns4krg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id D150B80659B6; Wed, 6 Dec 2023 07:15:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379241AbjLFPOy (ORCPT + 99 others); Wed, 6 Dec 2023 10:14:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379260AbjLFPOw (ORCPT ); Wed, 6 Dec 2023 10:14:52 -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 07BE51707; Wed, 6 Dec 2023 07:14:48 -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 860301D0B; Wed, 6 Dec 2023 15:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1701875302; bh=nuQ7oyEDVSuk9DOyuMG/cLB7BA1E7v6X/Af9iud7LTk=; h=Date:Subject:From:To:CC:References:In-Reply-To; b=b9ns4krgsqsEKFEpkwSUxPt90w7J8llYZPi9MyON8+FjGR7kqRSI3r83ZLpiL8lua ljtibIPMsXBzU9i7KmTZE+TYjrZbhXEUlTTPX1RmZnUNPjnPkSSmcbBBJ+/dCgQp0e QeHhsteLuAYXMv33bEAa0QG5/Ze27T+lmW+bHQoM= 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:14:46 +0300 Message-ID: <8babdfbc-5be7-428d-9c23-ca8ed66f7ec5@paragon-software.com> Date: Wed, 6 Dec 2023 18:14:46 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH 16/16] fs/ntfs3: Fix c/mtime typo Content-Language: en-US From: Konstantin Komarovc To: CC: , References: <00fd1558-fda5-421b-be43-7de69e32cb4e@paragon-software.com> In-Reply-To: <00fd1558-fda5-421b-be43-7de69e32cb4e@paragon-software.com> 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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 07:15:09 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784546650274869510 X-GMAIL-MSGID: 1784546650274869510 Signed-off-by: Konstantin Komarov ---  fs/ntfs3/frecord.c | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-)              std->c_time = dup.c_time; diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c index 8744ba36d422..6ff4f70ba077 100644 --- a/fs/ntfs3/frecord.c +++ b/fs/ntfs3/frecord.c @@ -3291,7 +3291,7 @@ int ni_write_inode(struct inode *inode, int sync, const char *hint)              modified = true;          } -        ts = inode_get_mtime(inode); +        ts = inode_get_ctime(inode);          dup.c_time = kernel2nt(&ts);          if (std->c_time != dup.c_time) {