Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11268982rwd; Thu, 22 Jun 2023 10:53:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69RJPJ5kJCHWDW16lKHmZcDGBz4bPSZMUlYpcFgqSTQZGZbzjsO7YGvcjTqhJK60v+iWml X-Received: by 2002:a05:6808:8ef:b0:3a0:5802:1b0a with SMTP id d15-20020a05680808ef00b003a058021b0amr3333365oic.25.1687456408793; Thu, 22 Jun 2023 10:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687456408; cv=none; d=google.com; s=arc-20160816; b=TDjXpu8NVfxgniuwf8EU/yv9IJ2BRkmgi4SUtJBgeA1fAXRKRPHUBTsbN/hZ3MuUwv o3XjYxXWx5Kkf5gxi/++2LLLADtNClZAfOKZw6Of7uyQQxB6OUfxUFT0sVF2zLgBcdrF NCaEBKuJ5H9WLbj638U35zxOqaaK83nYabMGHuS/MoDOEwO/2rzxvkD111jLENkEr2f9 bFjhF37BgNV4RyjPDV4rO2Q/oPoS+GTWu1oYn4nl16djgwWS5ixLM+gswLutgn/u/kZo Z140ah6BEF9cZ8Z36cwK+IpCMiXfwTdQ97+95toOdP8wjypHNIRT9+IzrZmMe/BBOux9 Rs8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=uH4yYcbxuW1TKp1OskziexxS1q09Dpf81OPa1qq1i68=; b=DuyvTyBUNtFTz+iR3GzyNV9rZ9T78mYZV/1kawHM77L8WDccIR/95NLu0irN/hqK8u ViKUZlMp0Le3Z0G+yljd3rLdhdh/U5iy14WMr2x9lNzzDLiqB5IMR6NrVC2jD81r5JTz SGIYu71gV1okE+ozr1Gs6tDAK8GMgVGdordTnBfdCu2m9V0Hr2RgGpaSjL0KH7tkyf6e vkE2F1qecIGV8Eb5XPwvTCNQvvgLjdMH3ah0Om6ab1aDyYvz6ERRbzSnGxeIhUSqDKl+ ChgLZV02ErRSyNQssrCS4/GjRdh3ZITEUlEHGkGJAsGuxJO2NC8N2CFStjCsQeLxnFZG kJEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rKxrOmmx; 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 me1-20020a17090b17c100b00250ab2f31besi109779pjb.71.2023.06.22.10.53.14; Thu, 22 Jun 2023 10:53:28 -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=rKxrOmmx; 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 S231467AbjFVRwD (ORCPT + 99 others); Thu, 22 Jun 2023 13:52:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231434AbjFVRv7 (ORCPT ); Thu, 22 Jun 2023 13:51:59 -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 63E68212E; Thu, 22 Jun 2023 10:51:37 -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 B52E8618C7; Thu, 22 Jun 2023 17:51:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39581C433C0; Thu, 22 Jun 2023 17:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687456296; bh=ykRuz7LngeYf9k4H2/jZLkTOCoPE7zE6YA8bvgO+lec=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=rKxrOmmxHMcoy5l/unX04R1ELvvouH2P3KFssr+UcL8TNHmwXRNpcr7EVFVurbcuA SriPObJSunG99QDrKJjCtg7pWHhsP08GLwrIz/CmGtcnC7o5Gwlufhpuik9g3IWW/N 7hY2DCYjoM3DM7g2lsNJ1sBA66QUM6PTYp4nxdyOkhX85WN+k1G55ETfqvsW9vhnbt kudzhAOrgq+i3O3Fy/XQ7AbLPON3BgLObSajhYtm76VDZdWxt0x9MZpSfPK5UqeBTf fuPAylPVDeuR/P+oynbezTmSScG1QrlhRgGkfv54IUWIPhE6BZexuvXtG/1TAjWxzv +6NEuqr0Vf/iQ== Message-ID: <468a895b93b83ed6369ea95519f832998a89d76f.camel@kernel.org> Subject: Re: [PATCH 03/79] s390: switch to new ctime accessors From: Jeff Layton To: Alexander Gordeev Cc: Christian Brauner , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , Al Viro , Jan Kara , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 22 Jun 2023 13:51:33 -0400 In-Reply-To: References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-1-jlayton@kernel.org> <20230621144735.55953-2-jlayton@kernel.org> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.3 (3.48.3-1.fc38) MIME-Version: 1.0 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 On Thu, 2023-06-22 at 19:35 +0200, Alexander Gordeev wrote: > On Wed, Jun 21, 2023 at 10:45:16AM -0400, Jeff Layton wrote: >=20 > Hi Jeff, > > 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. > >=20 > > Signed-off-by: Jeff Layton > > --- > > arch/s390/hypfs/inode.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > >=20 > > diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c > > index ee919bfc8186..30fa336ec63e 100644 > > --- a/arch/s390/hypfs/inode.c > > +++ b/arch/s390/hypfs/inode.c > > @@ -53,7 +53,7 @@ static void hypfs_update_update(struct super_block *s= b) > > struct inode *inode =3D d_inode(sb_info->update_file); > > =20 > > sb_info->last_update =3D ktime_get_seconds(); > > - inode->i_atime =3D inode->i_mtime =3D inode->i_ctime =3D current_time= (inode); > > + inode->i_atime =3D inode->i_mtime =3D inode_ctime_set_current(inode); > > } > > =20 > > /* directory tree removal functions */ > > @@ -101,7 +101,7 @@ static struct inode *hypfs_make_inode(struct super_= block *sb, umode_t mode) > > ret->i_mode =3D mode; > > ret->i_uid =3D hypfs_info->uid; > > ret->i_gid =3D hypfs_info->gid; > > - ret->i_atime =3D ret->i_mtime =3D ret->i_ctime =3D current_time(ret)= ; > > + ret->i_atime =3D ret->i_mtime =3D inode_ctime_set_current(ret); > > if (S_ISDIR(mode)) > > set_nlink(ret, 2); > > } >=20 > I guess, inode_set_ctime() called from inode_ctime_set_current() > updates i_ctime and is part of some other series? >=20 No, that gets added in patch #1 of this series. You should have gotten cc'ed on that one, though the postings to vger mailing lists of patches 1, 2, and 79 bounced because the mail header length on those was >8k. --=20 Jeff Layton