Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30583325rwd; Thu, 6 Jul 2023 07:57:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlFNB+QhzGLNXNbV0crdE5O1vGz5z56t/uhZtCM6romd6EQpjq90pFgnGaWrYaq8erB/gUfv X-Received: by 2002:a17:90b:4a41:b0:263:fc45:4091 with SMTP id lb1-20020a17090b4a4100b00263fc454091mr1489089pjb.15.1688655463110; Thu, 06 Jul 2023 07:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688655463; cv=none; d=google.com; s=arc-20160816; b=r+AvylWNBMw6QOEwkmzB4cKMC0+UtS4gzR74fiV7W66INH9r2305BNt3zNgJ0wRuC+ dE9C2U4VS58SgYzK2yheNZDhZZHfK9qwpqgfB+5AFj7MMLj4PzR1eGYbO5lakIFFBXUI 0mWseuEUBJEMm90E3d6dTjeWAgm0wP0Xr2deqMoDSOF9UMmYwbRpNMbZ1NnpffjCcpSf hUDrhVkqXuTegIDSPbJfaaAT0L+lreSvuqLxdUl+AvxxognYd1hk/ct8sHyCd5ry+6g/ lMp1NiyiH6x/9g73cKzDZuJKfEjlHCFeUnnChQfQpTGOsg5IuoB2aYd+SOvsoO5KOZNS UkSw== 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=e2MOTObxhWXrHfIzL3tBKyxt5wgH9EEyYUiCX2/Trts=; fh=P7NfT5GPIsljhlimSLd+IfQynJk/rz9P7ehnwPjSK2s=; b=kWMRyN6JGWULcGI7BP+tWgzQfDQJJqtCNU3Uvs/pBM5el5T5oWPSJi7bY62/7JDGlR GELHLY3T3DKGuxxzwEdyBTIvyCYbNWAXDU5IA5ivN/MpTejPTdlmw2Eiusl7/0gw5DUy XIHWbUiWVKGhfjz2b0uhP2/HYj0EmjPZFYHxVQ3LtP7DA1aQOxtsOjaGJJI4U8fDnPSH qnitt2YmzoC1PJvHrz+eWrf92mOvB4PITVCEdO/S/IGCnwSYVQrjIpaqxBBavXuCRpnI wKecvoGLzW9/QC6A7/WuJ6C9hoK7Q822VCyPybQvJ5zIOZK7Jv35dEzVfyWgsCxLTen5 jVyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="SH4/psHg"; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-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 w1-20020a17090abc0100b00262fc8d4dfesi3752009pjr.108.2023.07.06.07.57.26; Thu, 06 Jul 2023 07:57:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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="SH4/psHg"; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233668AbjGFO5C (ORCPT + 99 others); Thu, 6 Jul 2023 10:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233594AbjGFO47 (ORCPT ); Thu, 6 Jul 2023 10:56:59 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AE90173F; Thu, 6 Jul 2023 07:56:44 -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 967E0211CE; Thu, 6 Jul 2023 14:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1688655403; 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=e2MOTObxhWXrHfIzL3tBKyxt5wgH9EEyYUiCX2/Trts=; b=SH4/psHgcslGdkpjjTMJ/esYt9U593kmWNfitBce682LYzHW1UT9MfypdzZ+8gPNI91iGg OWA64hJnCMKgoAgLSIkB1T3orI3qKkPCCfpA234l7bA+RLWZ7aAHGBY7mXIOdlYiZByAYa 1uKsFJa3Ye5kvWYN6T4T5xyTAVVuQdE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1688655403; 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=e2MOTObxhWXrHfIzL3tBKyxt5wgH9EEyYUiCX2/Trts=; b=/IS6VA0VQgowvIZCKa5jYG0RsIxrI2ngf+jLci/nE47CaFgGMhdn7GjyY6BWz5zmTRV8r5 NAkLEn38nk+CKPBA== 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 85F7F138FC; Thu, 6 Jul 2023 14:56:43 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YVmsICvWpmR+BQAAMHmgww (envelope-from ); Thu, 06 Jul 2023 14:56:43 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 0ABC6A0707; Thu, 6 Jul 2023 16:56:43 +0200 (CEST) Date: Thu, 6 Jul 2023 16:56:43 +0200 From: Jan Kara To: Jeff Layton Cc: Christian Brauner , Trond Myklebust , Anna Schumaker , Chuck Lever , Neil Brown , Olga Kornievskaia , Dai Ngo , Tom Talpey , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Al Viro , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 88/92] sunrpc: convert to ctime accessor functions Message-ID: <20230706145643.r2bi5nraswnbzrgl@quack3> References: <20230705185755.579053-1-jlayton@kernel.org> <20230705190309.579783-1-jlayton@kernel.org> <20230705190309.579783-86-jlayton@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230705190309.579783-86-jlayton@kernel.org> X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_SOFTFAIL,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-nfs@vger.kernel.org On Wed 05-07-23 15:01:53, 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 Looks good. Feel free to add: Reviewed-by: Jan Kara Honza > --- > net/sunrpc/rpc_pipe.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c > index 0b6034fab9ab..f420d8457345 100644 > --- a/net/sunrpc/rpc_pipe.c > +++ b/net/sunrpc/rpc_pipe.c > @@ -472,7 +472,7 @@ rpc_get_inode(struct super_block *sb, umode_t mode) > return NULL; > inode->i_ino = get_next_ino(); > inode->i_mode = mode; > - inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); > + inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode); > switch (mode & S_IFMT) { > case S_IFDIR: > inode->i_fop = &simple_dir_operations; > -- > 2.41.0 > -- Jan Kara SUSE Labs, CR