Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30571413rwd; Thu, 6 Jul 2023 07:46:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlGsA+6Z7pKeNnWVUF2pUhrNMU15pSXyIzyzNoFrvWNTQpYPg6wG1K52zHvU+uGl9lo19Foi X-Received: by 2002:a05:6a20:72a8:b0:114:7637:3451 with SMTP id o40-20020a056a2072a800b0011476373451mr1762015pzk.37.1688654779366; Thu, 06 Jul 2023 07:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688654779; cv=none; d=google.com; s=arc-20160816; b=HTWYrSuKS4XDsBFmq7mHyvQmn6IjAOdGaIc56rR6eXZg01t8L+Y1bW4JTFVMQwLEWg bRV5kQaWEdQhhhsUGBg7E4+iCvPZRiw2VoLR9+WkfbK0x8OOquo7xzfA88swIyDgp0Cn jIACVffKL+9M+VL4Cnt3xkv4znN2LY2HPT6z34m63YIic54D2v5kkPSB09Z3Qyb0WBh5 pM1goZqQZsys8cDtpBpURUQyXMbMdGJ+ulHfqUV8DZd2Or1CFL3ETYc/bHRTkAOnkc7t Deu2K/mYxBMm26euQ2E5HtEtMbT/Ogcw5K+H2JQXeaPtK5HBLkOgvt61UNW0G0qCF7ZJ TdPw== 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:subject:cc:to:from:date; bh=xa6sE1jOgZwMRpLG9UkJnCpfmYPO2ZnrKSLbC+13DSs=; fh=MQcZkibVFnIeIjh+wQfY/stK37zZmAfOqrbpsgXo8gg=; b=CO5io/45fVBidwC1hUPC0rOmnKtxLWihhNh2AEJt91xLGOkNwH+hiIuEP+Vg7W0knC nm806Ap+RJe51y76jUkxtCK21U4kwb4gWh8n+JjYUuqFTfsd4XDFgHawyrUBx/7xzuJ5 Fg7+k8q7m7Z+Zo6AjccuAiyg42flfsNRL133DUBfMsQB0Racm1p3L4aeunnbk1+A5amk eg9Iyl1Zh6+z2NqPf3ztH7UVwyTkpRXJJWDKop8C8WUBtINnKfWiIIbrTHqfmYzHv9C7 88L4VYHfuU30vO8fN8CwTObsyvdMxaOj13A6dw/1NaGkkFAZjs33zmzH572MYibTx5le kojA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a170903024c00b001b7f9517794si1488905plh.384.2023.07.06.07.46.03; Thu, 06 Jul 2023 07:46:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231136AbjGFO1H (ORCPT + 99 others); Thu, 6 Jul 2023 10:27:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjGFO1G (ORCPT ); Thu, 6 Jul 2023 10:27:06 -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 7AD7210F5; Thu, 6 Jul 2023 07:27:05 -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 0668D61989; Thu, 6 Jul 2023 14:27:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8203AC433C8; Thu, 6 Jul 2023 14:27:03 +0000 (UTC) Date: Thu, 6 Jul 2023 10:27:01 -0400 From: Steven Rostedt To: Jeff Layton Cc: Christian Brauner , Masami Hiramatsu , Al Viro , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH v2 77/92] tracefs: convert to ctime accessor functions Message-ID: <20230706102701.2b8ac596@gandalf.local.home> In-Reply-To: <20230705190309.579783-75-jlayton@kernel.org> References: <20230705185755.579053-1-jlayton@kernel.org> <20230705190309.579783-1-jlayton@kernel.org> <20230705190309.579783-75-jlayton@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 On Wed, 5 Jul 2023 15:01:42 -0400 Jeff Layton wrote: > In later patches, we're going to change how the inode's ctime field is > used. Switch to using accessor functions instead of raw accesses of > inode->i_ctime. > > Signed-off-by: Jeff Layton > --- > fs/tracefs/inode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c > index 57ac8aa4a724..2feb6c58648c 100644 > --- a/fs/tracefs/inode.c > +++ b/fs/tracefs/inode.c > @@ -132,7 +132,7 @@ static struct inode *tracefs_get_inode(struct super_block *sb) > struct inode *inode = new_inode(sb); > if (inode) { > inode->i_ino = get_next_ino(); > - inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); > + inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode); > } > return inode; > } Acked-by: Steven Rostedt (Google) -- Steve