Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12570634rwd; Fri, 23 Jun 2023 07:52:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sjVBoBkrnm3qnHLYE/nQHcd7tkmzAkx/DUOFJZdymboJxcSDxtShQU5w0ayC65w+pVKoV X-Received: by 2002:a62:8283:0:b0:668:8ad5:778f with SMTP id w125-20020a628283000000b006688ad5778fmr14424003pfd.17.1687531958431; Fri, 23 Jun 2023 07:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687531958; cv=none; d=google.com; s=arc-20160816; b=CF8rvgvbBtyKiqRuJ47bXeRR+4+QNQYKAJV4OtIeF7pgU5D6Dcfe5bOeTknEolBnp1 3s4FxMgiQ+2FaRwDSdxAwcTDg3wZFJmW7U1lySHgq0dc5uoQ7YeT+Wo/uELVkqvjnV6G Vr4lYHSaEwfrFBdwpYsh2x5/ISYzdiO/KDHBmdRoC/ogszg3ZuPI3fRMnDgumkuxFGqq Ys1HOwBKPT52yumaIl4ld/5puCGtlsteiWwJlyZzobBbT4f9HbsWT5lIVWEUXRMoZj3t m06zOB9/q5j/EsLWNu6c7uVZVjs9vzcVlDv6jHknaAr1xKnaxEu+7wm4kACpblOW6KXM g5SA== 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=cNJElIuh7IRKT/A94Y0wNfI+PwUt+V2OMs3r9laCu1Y=; b=WczQhxpsu8uu/lJR4VGHwTrO8GMT92+DggjhQRjJwGnupBUiBY4l1Ls5MEibUrYjMt x1Kcpy+RMynAq/XyQlDoT3xuLr7eINELbrZx4V8Em2emVoWaSxvtyfeWC8AK/gIcHESU VeAVj0ukbAqDgUH8zmCgRdNvK7c5253f9deLTxT0A/QcPcjYxRRFkh+cMsefCnOr7udx 59RdQjwHm5u/t0Wkv40TEfXSswIp5dKso7PF9oMk6r2knkxe9RP4dmUtq38a2UfW3xGc 1PBmcPF8qPn3HvAMrfF//iGzd90lRYaaAHxL9cAjCnS6BHwLXO8TF7jq3Kbr4H4ppFo9 p35A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alarsen.net header.s=joe header.b=YfENN8a4; 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=QUARANTINE sp=REJECT dis=NONE) header.from=alarsen.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020aa79803000000b0065d19b74191si8572829pfl.220.2023.06.23.07.52.26; Fri, 23 Jun 2023 07:52:38 -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=@alarsen.net header.s=joe header.b=YfENN8a4; 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=QUARANTINE sp=REJECT dis=NONE) header.from=alarsen.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232225AbjFWOfR (ORCPT + 99 others); Fri, 23 Jun 2023 10:35:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231948AbjFWOfK (ORCPT ); Fri, 23 Jun 2023 10:35:10 -0400 X-Greylist: delayed 492 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 23 Jun 2023 07:35:05 PDT Received: from mail.alarsen.net (joe.alarsen.net [IPv6:2a01:4f8:191:10e8:1::fe]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC2E71987 for ; Fri, 23 Jun 2023 07:35:05 -0700 (PDT) Received: from oscar.alarsen.net (unknown [IPv6:fd8b:531:bccf:96:1d26:f9f2:f499:3633]) by joe.alarsen.net (Postfix) with ESMTPS id 7BCB8180292; Fri, 23 Jun 2023 16:26:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alarsen.net; s=joe; t=1687530408; bh=cNJElIuh7IRKT/A94Y0wNfI+PwUt+V2OMs3r9laCu1Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YfENN8a4Amxx7D4M7cuYsfx7yrgo4IiSRelp1EDhFfYNcoHwaHSi6kLRJW875vpQq 6JijsJhtVRfu+EYSKD0UbJVuUM9eYKxCSU5kMgVcZPO8vqIdWMNv6nSbhodQLkaGzq hNU5FpJkcdRRUETR+I8JgYn9fYwj9q6vTSmmYbUE= Received: from oscar.localnet (localhost [IPv6:::1]) by oscar.alarsen.net (Postfix) with ESMTP id 6F01527C092D; Fri, 23 Jun 2023 16:26:48 +0200 (CEST) From: Anders Larsen To: Jeff Layton Cc: Christian Brauner , Al Viro , Jan Kara , linux-kernel@vger.kernel.org Subject: Re: [PATCH 57/79] qnx4: switch to new ctime accessors Date: Fri, 23 Jun 2023 16:26:48 +0200 Message-ID: <5944926.lOV4Wx5bFT@alarsen.net> In-Reply-To: <20230621144735.55953-56-jlayton@kernel.org> References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-1-jlayton@kernel.org> <20230621144735.55953-56-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Wednesday, 2023-06-21 16:46 Jeff Layton wrote: > 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); Acked-by: Anders Larsen