Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9589782rwd; Wed, 21 Jun 2023 09:12:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7+Wa/eATZueMvnrZyeY/L2YeGdrijVsuZ0cKVEMMhsSv7Sq6qLtgqDAYHYk2yEimcbvK6E X-Received: by 2002:a17:90b:120d:b0:253:38bf:9757 with SMTP id gl13-20020a17090b120d00b0025338bf9757mr12067340pjb.43.1687363949414; Wed, 21 Jun 2023 09:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687363949; cv=none; d=google.com; s=arc-20160816; b=zDjrcMZghEOIRnTvMZfXx9EDiZ+SAKf1TPM0B2oRSEt7cFcfnm6Xg96xqpuxnwBsep So5Pn21vDh6d8IdcdzOaZss2l0DC9oQiS88RZZPZYGyyrQPSp+Rah5ni6Ep6KC650uYF OUH2l7dxlHS+pleJ18fB75AtsF5sXhbvKpt3gxLW3v+FJ2Dy0UnHpIp05ExYtEo/cbGz mF5/HPO8e17XOwddT2SC+jty80HWy6rV1Dhxh7mHPmsTPjycN+4W+zfN3X1L5qBldGXW CfXSKQBaDS1hQcLM8x1BDeFI2rcIuzWevgV1n2/mlPBqM4XVfcH+L5hNu/KRjc8FCzY5 NCKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=AZ44Dc+64GpnoOvwQjsvlyiw0jCVV+FiAy3Khyh22uQ=; b=JMpL1Hx19QHo/OjId72YFvDXN115MWXf/pri6R+NAfwXa4Tcl6MaNpudhEvz0vh0iB pCtcUhJMG50zlDDLatpcXw9UkSsLVOXPHCQwiM0KlM5cF/GqXXw49c5R4zNQTt7LTMHo tX2hgfwsNsqqXcN2EMmoMePGIz7sdhlFTeRX8gY/0+KgKdPrztwi5G6/io3/OgopA+Tt 5LO5PO+kFPGG9H1x8b2vkt4osvv6fuH088sqYzT6+I/i7aCXsKR8HsHjynwzUxe+IgWv 0DQqZGlS24bnzF5u6wwu6L0ju+Qu2AkxXgHKdgVLaBMdeYV8yE0G20j/W7UzC2Jo3ZLd G4Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=V+dQqG6z; dkim=pass header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b="BxBpnN/O"; 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 207-20020a6302d8000000b0054fcffc5fdesi4300932pgc.531.2023.06.21.09.12.16; Wed, 21 Jun 2023 09:12:29 -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=@pobox.com header.s=sasl header.b=V+dQqG6z; dkim=pass header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b="BxBpnN/O"; 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 S233270AbjFUPdD (ORCPT + 99 others); Wed, 21 Jun 2023 11:33:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233419AbjFUPcr (ORCPT ); Wed, 21 Jun 2023 11:32:47 -0400 X-Greylist: delayed 201 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 21 Jun 2023 08:32:29 PDT Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9004211F for ; Wed, 21 Jun 2023 08:32:29 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 9B4E219C35A; Wed, 21 Jun 2023 11:29:04 -0400 (EDT) (envelope-from nico@fluxnic.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sasl; bh=ekd0h2QIE5s1PkBoGtfX2O0/PUn/m1cFnjgcDW ipEtM=; b=V+dQqG6z4vV9hekY3M130d2Tu+D8CyOmXRdwxSUNzV9g3QUm8iMtis P0yafbrJrjw/CwasDULuHdVqBb5oMtUIeJszNEJqpaXpg6Yo9bxPnSsPHp+p+Sbc 4CoSn+aH/9LBQ0r+7XvekigjWK633YsmXnPsU7HzSdctO4gINzdM8= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 912F019C359; Wed, 21 Jun 2023 11:29:04 -0400 (EDT) (envelope-from nico@fluxnic.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=fluxnic.net; h=date:from:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type; s=2016-12.pbsmtp; bh=ekd0h2QIE5s1PkBoGtfX2O0/PUn/m1cFnjgcDWipEtM=; b=BxBpnN/OZz+abP2EtPKcwMvg7RFZ+ed5i41HEVosEgZbtKJTpkCxsT9inBGgWc/DP/nNcFe7CNv3GHDJsmOzpwNm1v/HfrI+Sq8z08NxlljnpKbCVGF+nEsW4hJi3EeXjFT9G64YdKf2GUBw1Mr5A+wdoBElvQHa+uNwsBrdXks= Received: from yoda.home (unknown [184.162.17.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id C796819C356; Wed, 21 Jun 2023 11:29:03 -0400 (EDT) (envelope-from nico@fluxnic.net) Received: from xanadu.home (xanadu [10.0.0.101]) by yoda.home (Postfix) with ESMTPSA id 80C188165C2; Wed, 21 Jun 2023 11:29:02 -0400 (EDT) Date: Wed, 21 Jun 2023 11:29:02 -0400 (EDT) From: Nicolas Pitre To: Jeff Layton cc: Christian Brauner , Al Viro , Jan Kara , linux-kernel@vger.kernel.org Subject: Re: [PATCH 20/79] cramfs: switch to new ctime accessors In-Reply-To: <20230621144735.55953-19-jlayton@kernel.org> Message-ID: <5r02p455-26oq-9r61-ss01-679977osr722@syhkavp.arg> References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-1-jlayton@kernel.org> <20230621144735.55953-19-jlayton@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Pobox-Relay-ID: 5A92D108-1048-11EE-BADD-C65BE52EC81B-78420484!pb-smtp1.pobox.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, 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 Wed, 21 Jun 2023, 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 Acked-by: Nicolas Pitre --- > fs/cramfs/inode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c > index 27c6597aa1be..039ce0f8858b 100644 > --- a/fs/cramfs/inode.c > +++ b/fs/cramfs/inode.c > @@ -133,7 +133,7 @@ static struct inode *get_cramfs_inode(struct super_block *sb, > } > > /* Struct copy intentional */ > - inode->i_mtime = inode->i_atime = inode->i_ctime = zerotime; > + inode->i_mtime = inode->i_atime = inode_ctime_set(inode, zerotime); > /* inode->i_nlink is left 1 - arguably wrong for directories, > but it's the best we can do without reading the directory > contents. 1 yields the right result in GNU find, even > -- > 2.41.0 > >