Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9634373rwd; Wed, 21 Jun 2023 09:47:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ia4rD9veRc+ZlwL6msz5Npv4Ew7McLccCj7q58luwjd3f8xPC8InFYO9UTIlRcTVVRXX4 X-Received: by 2002:a05:6870:b7ac:b0:1a9:f17c:6548 with SMTP id ed44-20020a056870b7ac00b001a9f17c6548mr8737630oab.34.1687366042268; Wed, 21 Jun 2023 09:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687366042; cv=none; d=google.com; s=arc-20160816; b=seyQgGPrTCCxu8cf47+FothWCUDFPm7IUzjt43NHwQkbI8o/r3l36sijpfhISjh9hG WWo4okRoBrz2vF6usUHXT0W9fyh3k3ooKPSJ4PHqBcmr7EhqJoqWFJe06UZvscDOdML4 SVsoQPxCohdAJ/ta92K0GymeJz01g9rZF/i662nDXCk6nKy3qZUnHjhfGkqe4Iijlfkh XaC14JSq73pCVWNewKe1fCy7xUNiLswOjmtuKl143fKHRhiZih1JAzCPNoJk1TAn5/eH 8fP8jBobRfeKvwPTEqe+vtjClip5ncQWuNqLFqpCbiQe62PbsFQzJmiVrhSTf7DpPgAf ybbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=TQUlt748x2mthmmwCeGxqz+K1WLJtQOlSRo4IA/8aG4=; b=Ura/bNSkPt0dI1zsg6JZ4qS7oa28bePMsSkqlN0XrhyFCyREGjncpW7BBS8Vg4EQ3/ ggOloKi4arBFr0lIaQWU1Y014PPGVDn+v5J43kcRANb20MaTiBqiBe0azbRq7bGXwLKW yQLBYEQoySkIxkyT8dGglb5dTHBSfJMeWXOKZPKltT9B4cDU6ytAbxgsd84OnbKbiSs6 1sQ4DyX795j4r/jBmeLIG43h+b578gycdCWKfMYw4y6xR0/ZBEonFVTQ6D3N80pvkvS1 57aqWM1BzDQBE5WotXrRz7Y7tTszS/uqc5/IfF2XaUat1uhTaxD8cl+2PKx7Crife10T UPCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=VBqtAVhT; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 ds19-20020a17090b08d300b0025c21590d02si1000677pjb.96.2023.06.21.09.47.10; Wed, 21 Jun 2023 09:47:22 -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=@suse.cz header.s=susede2_rsa header.b=VBqtAVhT; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 S232679AbjFUQfx (ORCPT + 99 others); Wed, 21 Jun 2023 12:35:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232705AbjFUQfc (ORCPT ); Wed, 21 Jun 2023 12:35:32 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD5A91FC0; Wed, 21 Jun 2023 09:34:57 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 7C99F21DCF; Wed, 21 Jun 2023 16:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1687365281; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TQUlt748x2mthmmwCeGxqz+K1WLJtQOlSRo4IA/8aG4=; b=VBqtAVhTryP9lQwMFcXJKI6NAf1LEjITh+tNAAhpJGDufxah2noB0ZYvZRU2JJ/S3EG5U6 Tb9IOFRunDzMyL9gNnqMP9oQE520p/edubXaxN+cBwwmXPxvyF3RaWZ2JR8xJvQTXluTD5 qrS5BdkI0eExiM7pq/53c6SQe8QUpy4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1687365281; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TQUlt748x2mthmmwCeGxqz+K1WLJtQOlSRo4IA/8aG4=; b=LsWHivZhNjM2cDFHFSHgCX8PfKl7v/B15u4fW4119YT/igSoRGi7Rd9ygL6rCYF+lzrpW5 Hv0V1q1/rTSmPJDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 67C49133E6; Wed, 21 Jun 2023 16:34:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /K9RGaEmk2QNQwAAMHmgww (envelope-from ); Wed, 21 Jun 2023 16:34:41 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id F1D96A075D; Wed, 21 Jun 2023 18:34:40 +0200 (CEST) Date: Wed, 21 Jun 2023 18:34:40 +0200 From: Jan Kara To: Jeff Layton Cc: Christian Brauner , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Al Viro , Jan Kara , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/79] s390: switch to new ctime accessors Message-ID: <20230621163440.xn4qav2f6garzgx6@quack3> References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-1-jlayton@kernel.org> <20230621144735.55953-2-jlayton@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230621144735.55953-2-jlayton@kernel.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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-06-23 10:45:16, 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 Looks good to me. Feel free to add: Reviewed-by: Jan Kara Honza > --- > arch/s390/hypfs/inode.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > 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 *sb) > struct inode *inode = d_inode(sb_info->update_file); > > sb_info->last_update = ktime_get_seconds(); > - inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); > + inode->i_atime = inode->i_mtime = inode_ctime_set_current(inode); > } > > /* directory tree removal functions */ > @@ -101,7 +101,7 @@ static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode) > ret->i_mode = mode; > ret->i_uid = hypfs_info->uid; > ret->i_gid = hypfs_info->gid; > - ret->i_atime = ret->i_mtime = ret->i_ctime = current_time(ret); > + ret->i_atime = ret->i_mtime = inode_ctime_set_current(ret); > if (S_ISDIR(mode)) > set_nlink(ret, 2); > } > -- > 2.41.0 > -- Jan Kara SUSE Labs, CR