Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9589306rwd; Wed, 21 Jun 2023 09:12:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5FpSirMLYCR2Ik4IR2Ph+P2CCEUHnPOfYesTgZkCYM1Vd7u39MFbj7S2iXF9ZwfQ0DNLSs X-Received: by 2002:a05:6a20:2588:b0:106:5dff:5db5 with SMTP id k8-20020a056a20258800b001065dff5db5mr29064684pzd.1.1687363930312; Wed, 21 Jun 2023 09:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687363930; cv=none; d=google.com; s=arc-20160816; b=RqkzYldTwrBzdJciwNFbggeueg0mrhTub+d+1L0gv4i86p2M1HqV8jOnTdssAmJ3vI zSQt8J2jrFaqG6Gq0r7gp8MT3fjVNU7WaeOXi0uabF8JvfRQJg/wh82he/jU0uR4IZ3+ 3NjlKbCCDtvlp1KKFmaavX3JKCwfxazow0jrDWInexAMZN8Rh0CleXRuf/HpvWWOI2i4 CX3NRgjqeE5GwLIpttr/FzIRDPjy6WQXBS/EvPZZ6QlHvxiLYhJavQBnt8+i+spVaKGY 7aioQgfnOWHzbeiEZv2mZTIjrwgQELIhSOR9epa3NLs+vUR/8VD8UK/xrmXJv+zrgtFK O8iA== 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:cc:to:from :dkim-signature; bh=9XMdacXuFdrwWNWaEiUGMj3YwXkqM34JeMiM371gp7g=; b=nO6Kr1nrM+dIkaC+AMtNQ0BjQ42a/AAqL6WOcLRLi0bZRSSVNpHWy4+mpxCQyl+lmP c8qZkLCiPbLvMgyNreCqG8xawZ1/dsA5l8/4zdG8N4OaWhV2GwJChtVAq/qyG+RZ4RJG vHLFq7Wvsq+TMjQsLXfJlMW219A+yLzIu4tSpXU9zEJVtS/nmJUwsCScGDQmOfuR+zI3 b7r61gYy46cirtnCVz/nA6OJJgoCgmQK13I5umd40TLYoIfyjmwnQ1ZYP3TIz2idXcGr mOJsz3rv2f0KpGHPF4ulPSJ+7+C07HQZFviT2fIE5xeSBXja02AeKf84omfCKaCgaapC Y6Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WoUD345L; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u24-20020a656718000000b005348202cac1si670271pgf.5.2023.06.21.09.11.58; Wed, 21 Jun 2023 09:12:10 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=WoUD345L; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233048AbjFUO42 (ORCPT + 99 others); Wed, 21 Jun 2023 10:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233058AbjFUOyk (ORCPT ); Wed, 21 Jun 2023 10:54:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91A7D35A4 for ; Wed, 21 Jun 2023 07:50:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D80AB6157D for ; Wed, 21 Jun 2023 14:49:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1CB9C433C0; Wed, 21 Jun 2023 14:49:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687358955; bh=f1rttWyEovUo0PnSxIfPqjg/fvLapokvDJ8MLoxkPYI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WoUD345LPEF4hodSkjDYo5jbDC614zugtoeX1ouA1gScMBog1mZZYzmATLhoTkySU LFuPoSmt+olr3KHqx8+VmRJFW/KeJPLkuxYI+lPde4RamxgyZa9XxPETK+DGxumHFO KIwkMqbgaJC8LAAQ+ZbiB9ppRUDv8cCEdqIScHWCOZP3d8eBMuKKN9V2XLvH+iUySx A1gejL3krjz8/+bD/6xXL6saZhNjKHvd4qAMpeYWSCkyn1fUj3B+Ft+ohp071f8PCQ pPQHqK4yuEyzI9l5GBMhtSq5KLVffyNyX68NbI2pDLjbQLuDCCntxY+oB9xDpD5PKB GJwP1DSIe0M6A== From: Jeff Layton To: Christian Brauner , Anders Larsen Cc: Al Viro , Jan Kara , linux-kernel@vger.kernel.org Subject: [PATCH 57/79] qnx4: switch to new ctime accessors Date: Wed, 21 Jun 2023 10:46:10 -0400 Message-ID: <20230621144735.55953-56-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230621144735.55953-1-jlayton@kernel.org> References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 In later patches, we're going to change how the ctime.tv_nsec field is utilized. Switch to using accessor functions instead of raw accesses of inode->i_ctime. Signed-off-by: Jeff Layton --- fs/qnx4/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c index 391ea402920d..3fde90b3f99b 100644 --- a/fs/qnx4/inode.c +++ b/fs/qnx4/inode.c @@ -305,8 +305,8 @@ struct inode *qnx4_iget(struct super_block *sb, unsigned long ino) inode->i_mtime.tv_nsec = 0; inode->i_atime.tv_sec = le32_to_cpu(raw_inode->di_atime); inode->i_atime.tv_nsec = 0; - inode->i_ctime.tv_sec = le32_to_cpu(raw_inode->di_ctime); - inode->i_ctime.tv_nsec = 0; + inode_ctime_set_sec(inode, le32_to_cpu(raw_inode->di_ctime)); + inode_ctime_set_nsec(inode, 0); inode->i_blocks = le32_to_cpu(raw_inode->di_first_xtnt.xtnt_size); memcpy(qnx4_inode, raw_inode, QNX4_DIR_ENTRY_SIZE); -- 2.41.0