Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9639846rwd; Wed, 21 Jun 2023 09:52:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4y3xAP7v4mOPuQT6JzunWd0fin07usIYJjj203IIO6OyFyo3Gcx6MiRg1kTfeYrQiBUJDf X-Received: by 2002:a17:90a:1906:b0:25e:ae0f:7311 with SMTP id 6-20020a17090a190600b0025eae0f7311mr10623470pjg.23.1687366357666; Wed, 21 Jun 2023 09:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687366357; cv=none; d=google.com; s=arc-20160816; b=n/GI9wXGNrP/vwfD6qpQS5/N62WNt5PAxymG5hyhABogsQQqDC138n58GPVbszqb1V AJ/q6mz8/GOl4IPL53c/WEkD1pmWWVqI5P0S2NYrMkz8hzkK3UxUfqXHAoe2lGiE5E7j ybEfiEq9tbbNm4cBK86WvBYPxk9DQgrnJE4vqeJuACdx2moVDrUPCMiHFFr/vO9M8MkX qMtE2RluahaEyjAd4TQNRGDdkLiiiArtmhmml4KA7/yCSN471Y3YlPmPgsJgOnatgYxm NLIXA72B3m6HIlafCACPtvwd7Leo4AvuQQHX6oVronkV+hrU6vz48PaRSwXqIT1JM36q nK4g== 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=7B1rYZPmUUmzG9AoAPJupPPqfTGJws54sAbZMp3PkUA=; b=DT4J+tGyhFmi9XBOQgaKsa5wZjyh8RiiqcL4Q1VfoxcLZV6teNYEGix9QlQrFEQ/2b riK9DBh0hWBtUNFudBmqktyztTfrGHG6q158Rh/B00F2kcIq8cTmH2TjsTOEx0L+2eyb bViM29as7O2Vs5Qf4HoJCyy6VW3o/junjcC3kDtgkZFAuDKHpxKspimMWIb38Y+npz0t SoqQzQO/afrfKgzavZBDBYf53JS9eJi9/w+09UBOl2MxnnknO0iUv3YwExDYyWPJ6jii 8D5OkKnLeOf39alZXXgDZ1RyavFzOynLxcTIT1xwUrHOtLAXXq2o9HEYPDiNs3Niy5e6 Qv1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="ouDN/VVT"; dkim=neutral (no key) header.i=@suse.cz header.b=eo+l3AgW; 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 11-20020a17090a004b00b0025e46673b75si1558022pjb.163.2023.06.21.09.52.24; Wed, 21 Jun 2023 09:52:37 -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="ouDN/VVT"; dkim=neutral (no key) header.i=@suse.cz header.b=eo+l3AgW; 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 S232384AbjFUQfO (ORCPT + 99 others); Wed, 21 Jun 2023 12:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232748AbjFUQem (ORCPT ); Wed, 21 Jun 2023 12:34:42 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3C9F1FCB for ; Wed, 21 Jun 2023 09:34:21 -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-out2.suse.de (Postfix) with ESMTPS id D9DDB1FF33; Wed, 21 Jun 2023 16:34:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1687365259; 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=7B1rYZPmUUmzG9AoAPJupPPqfTGJws54sAbZMp3PkUA=; b=ouDN/VVTNK6cBdCJ4J8ygLPNzVV/2zwMHeaArMxw1HltM4aU7N34JgXIUgiEALkKX2g21m OJoSQY1urvoXICt3pICYxeEfZbT87xQX6QykUmkIAVyhULax2wawYCmvJQMorMSG+LUow6 9RDVhbWpggFzIfiUF0tCopWx/uxZyuA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1687365259; 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=7B1rYZPmUUmzG9AoAPJupPPqfTGJws54sAbZMp3PkUA=; b=eo+l3AgW85QpyYlNRRCatCClY81nY/61R6LbM2JVU+X6MU1mo7Ktcdd/h5gqYp7kIf81sr hCXv5Vhbo7RFBDBQ== 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 CC3DD133E6; Wed, 21 Jun 2023 16:34:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id myTWMYsmk2TfQgAAMHmgww (envelope-from ); Wed, 21 Jun 2023 16:34:19 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 6C725A075D; Wed, 21 Jun 2023 18:34:19 +0200 (CEST) Date: Wed, 21 Jun 2023 18:34:19 +0200 From: Jan Kara To: Jeff Layton Cc: Christian Brauner , Jeremy Kerr , Arnd Bergmann , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Al Viro , Jan Kara , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/79] spufs: switch to new ctime accessors Message-ID: <20230621163419.adjsdbqoyebvymqc@quack3> References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230621144735.55953-1-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,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:15, 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/powerpc/platforms/cell/spufs/inode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c > index ea807aa0c31a..55418395bd9a 100644 > --- a/arch/powerpc/platforms/cell/spufs/inode.c > +++ b/arch/powerpc/platforms/cell/spufs/inode.c > @@ -86,7 +86,7 @@ spufs_new_inode(struct super_block *sb, umode_t mode) > inode->i_mode = mode; > inode->i_uid = current_fsuid(); > inode->i_gid = current_fsgid(); > - inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); > + inode->i_atime = inode->i_mtime = inode_ctime_set_current(inode); > out: > return inode; > } > -- > 2.41.0 > -- Jan Kara SUSE Labs, CR