Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3151391rdh; Thu, 28 Sep 2023 04:25:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHibJAeHfQsNLTjGjH17QhMiTR6ZcZLFvIMlu7cAiB3F3Pfz1LBlusCUVaPHAZOR0D84MtJ X-Received: by 2002:a05:6a00:10c9:b0:690:c701:e0ed with SMTP id d9-20020a056a0010c900b00690c701e0edmr799080pfu.0.1695900300985; Thu, 28 Sep 2023 04:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695900300; cv=none; d=google.com; s=arc-20160816; b=ht2Mv5v5FeIui44yVz+QXqgSTQzU1g5t7svt5bKIZcd6v4xeGh1eRBpEmJlZf/HNM9 5vUtzGqCLbINLY7/fzFEUBlqTu51DGnXUrzGDAchMD2Hb6w4j7TFaiIBFeoTyz8Snx0R djyjFSUTKyuhfXPmpLRXtkIOaoF/LJFa9QbnzSPTMGW2GTy0s0jsW9L3qQFx/URNNGzw +Sb5+JN8wDTmmRByHzBNZeX6T+4DbOcsKcpPfIkYYlMB/tEXIHjeuyQPHiZ8dbUODth9 ExeAX7vk/bFQVqp+PlDMTRDk9d1+U2tI6BMJKB158tEpYp84oqdUUK4e25hfgrUuDLn5 +l3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=8mJIPx4HIzF4JQ29qZ/OE/pY5CWfMeYk/20NdWdOsz8=; fh=c1hve9LK7bidUltaxotdOOkNtWZ8Drk/KOyPdUWU/OI=; b=ify9M1k5DvW1Dtq5TuW746Y9x9WNM1nT0tUiihiolIgfiIR53qGtoBL4RCJW2/zYAY 67/YfF6LwwMGuK/i0kjULqiDiU3q+MqELWRUnZIe9DrSFKLVD3h9ZyYYF8h4SEBhfuz1 jRsDY8Gu7FLo1usr09hZHZ1ZE15VSq5SBWNpvfzBd+iSSY17onjt86aGwhRKA3WQSdjr o/6vlwm+m4rnz0A0Cb8l2s+OobD53sbphAIOQRpUtpRGFNTLpcQBKGViRFj2pk8bOHkZ lafKGi64mJDmIJKaNQkn8/Uvd3P4gqO+7SMryDZGJIxCOrgnXIzC7QEaQ984kxmdt3xW Tz8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mEWU+BzS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id w190-20020a6382c7000000b00578b8016c3esi17672816pgd.138.2023.09.28.04.25.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:25:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mEWU+BzS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0DBED80CFD66; Thu, 28 Sep 2023 04:12:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231925AbjI1LJu (ORCPT + 99 others); Thu, 28 Sep 2023 07:09:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232443AbjI1LJI (ORCPT ); Thu, 28 Sep 2023 07:09:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D9522108; Thu, 28 Sep 2023 04:05:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13902C433CB; Thu, 28 Sep 2023 11:05:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899128; bh=Qayin5SASKfJJl/xecNB8alrWi4t9sgg92O3QuynXjQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mEWU+BzSQ9FP50WtesqRRI9SFs/ICVSPtdBkd7skCB1gHgi4x53YQ3U+fxOA/962H lAnfKJdLRYTpiKWW8DHgiAx/4TeVZIiO8I/GqgC877LfmzOD+QYT9c5Ix7cWrTHHfo AmhpopEA3HonOtLBvMO4DkEjhhVrmnS/Abt/WZ/DBaxmsdFatC5PNpwbfkQQGExWCa 1rCSWrE9K5K5grC3U1AMdHom58JjkUlIkH+MIMjnF5D6JvBa1CCOAoZmjmaIoc9U54 Wachy2KwpoUq7Q850yP+F7UzTRZmw08xoLoJ5E3DbYtRRVu8gJKvFlDQPHiIMtZSBS kk15xoSf4yN/g== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 63/87] fs/qnx6: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:03:12 -0400 Message-ID: <20230928110413.33032-62-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230928110413.33032-1-jlayton@kernel.org> References: <20230928110300.32891-1-jlayton@kernel.org> <20230928110413.33032-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:12:45 -0700 (PDT) Signed-off-by: Jeff Layton --- fs/qnx6/inode.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/qnx6/inode.c b/fs/qnx6/inode.c index 21f90d519f1a..a286c545717f 100644 --- a/fs/qnx6/inode.c +++ b/fs/qnx6/inode.c @@ -558,10 +558,8 @@ struct inode *qnx6_iget(struct super_block *sb, unsigned ino) i_uid_write(inode, (uid_t)fs32_to_cpu(sbi, raw_inode->di_uid)); i_gid_write(inode, (gid_t)fs32_to_cpu(sbi, raw_inode->di_gid)); inode->i_size = fs64_to_cpu(sbi, raw_inode->di_size); - inode->i_mtime.tv_sec = fs32_to_cpu(sbi, raw_inode->di_mtime); - inode->i_mtime.tv_nsec = 0; - inode->i_atime.tv_sec = fs32_to_cpu(sbi, raw_inode->di_atime); - inode->i_atime.tv_nsec = 0; + inode_set_mtime(inode, fs32_to_cpu(sbi, raw_inode->di_mtime), 0); + inode_set_atime(inode, fs32_to_cpu(sbi, raw_inode->di_atime), 0); inode_set_ctime(inode, fs32_to_cpu(sbi, raw_inode->di_ctime), 0); /* calc blocks based on 512 byte blocksize */ -- 2.41.0