Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30610109rwd; Thu, 6 Jul 2023 08:14:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlGt/BJ2yISdN8Aq/U2xjqdexTgZ/2+AsyvqZUOI0c8gLcyu1f2MetmiRaUJ/lo6/LFBuuvq X-Received: by 2002:a17:903:2301:b0:1b8:6dea:e270 with SMTP id d1-20020a170903230100b001b86deae270mr2524781plh.16.1688656497071; Thu, 06 Jul 2023 08:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688656497; cv=none; d=google.com; s=arc-20160816; b=bh4iYnYoq0xYnhgYa1hbyIVab3+JWcQ/+/RV6Qx1+TfFGBbdHj7KUJxUA3Sx71UdS+ yxsssBerz4TuL1iFYClbb6I3+YY9D+iDjEoOLOg1td5l2e4Y+G/8Kd7hGEnHIMMYHWl/ 1mgOdLGyfCoWDTQdkKAZh/SKxom0n/roXwOWa+WSM0uBw//b9ApJ26ETTZySql3RyTvy Io4HjZNVVQNg+OaRHYFVoQjm/uZiXoSB0tZEgZVsOTSk8dnLKRZ/plSsK9wIRAcMY8bp m0riOzpdSiUIcOI1UNxARzhUh9+NOv+0qlTF06+Lb2+8KWX2HEdJQ8wHX2mRiTGXYadb 0gRg== 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=dP1By/QzEGxAeYtguefHAZ6uwBGuUVygTSGRjgis6XE=; fh=gV9+57YtZieAXZnRukJ+0BOiemj3O5p/k5CdTdrYCJ4=; b=oy/Zho3JWVFmaEWTbOGi1UQleZxxYqaF045Yzciwbm0v8cFOjs6FzJ4B2/ci+6dPU2 rYgtnD5PXMx1d2nYj1b9KDDjFvYdimUU1hCPqP9HNWoDFDKAajgsjmFAj3gC1GFSwo+O UW9LhhNXQq5E0gB1jDmBE/MtTsUi+fMVCimGzFwlO8YIm4fBjgKfW+4iXTIhYWQKbgTo 7OyctsnOpSaz69dzCGBxbUwzv//es2v2AMH9BqjLu2VtqVz5L/u0BL2quFH5uyrIvLLz Kpgkk1xmu6agBjyh6svkcsVcx2k8JXBJQPWYBt2dBVr7ZKUpnnAx/Ocamso8X2At6Pwh S5Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FaPRDhoi; dkim=neutral (no key) header.i=@suse.cz; 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 z16-20020a170903019000b001b80643d64dsi1579897plg.145.2023.07.06.08.14.42; Thu, 06 Jul 2023 08:14:57 -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=FaPRDhoi; dkim=neutral (no key) header.i=@suse.cz; 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 S233571AbjGFOxm (ORCPT + 99 others); Thu, 6 Jul 2023 10:53:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233806AbjGFOx2 (ORCPT ); Thu, 6 Jul 2023 10:53:28 -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 21F93119; Thu, 6 Jul 2023 07:53:23 -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 D03C3210E1; Thu, 6 Jul 2023 14:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1688655201; 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=dP1By/QzEGxAeYtguefHAZ6uwBGuUVygTSGRjgis6XE=; b=FaPRDhoi2U0VRQso5o9hAktyVk1QfhvMoczxP18FW1iIMjSWTVShaVi/mF4w+k/tQc1dO7 gQyn//fa9/ys74l4nQrsznRm+PzeyXwVFakK4E6rm6lylacKH4EJ+dvddC9m7BcohshC3X H4Dxh5fgQDQperv6VODcRi0b7DcfEFE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1688655201; 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=dP1By/QzEGxAeYtguefHAZ6uwBGuUVygTSGRjgis6XE=; b=jsRXgiMQn8cqSiQslJ6zHZ9pMlrQwPF/KXYUVFWqPFqqDsLP/aPw7LIXY8XulZQ6aejP7a R9TKUukgtusvXaBQ== 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 C3587138FC; Thu, 6 Jul 2023 14:53:21 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8p+vL2HVpmStAwAAMHmgww (envelope-from ); Thu, 06 Jul 2023 14:53:21 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 6BADAA0707; Thu, 6 Jul 2023 16:53:21 +0200 (CEST) Date: Thu, 6 Jul 2023 16:53:21 +0200 From: Jan Kara To: Jeff Layton Cc: Christian Brauner , Al Viro , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 84/92] linux: convert to ctime accessor functions Message-ID: <20230706145321.ahfawgtukrmfgfdv@quack3> References: <20230705185755.579053-1-jlayton@kernel.org> <20230705190309.579783-1-jlayton@kernel.org> <20230705190309.579783-82-jlayton@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230705190309.579783-82-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-kernel@vger.kernel.org On Wed 05-07-23 15:01:49, 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 > --- > include/linux/fs_stack.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/fs_stack.h b/include/linux/fs_stack.h > index 54210a42c30d..010d39d0dc1c 100644 > --- a/include/linux/fs_stack.h > +++ b/include/linux/fs_stack.h > @@ -24,7 +24,7 @@ static inline void fsstack_copy_attr_times(struct inode *dest, > { > dest->i_atime = src->i_atime; > dest->i_mtime = src->i_mtime; > - dest->i_ctime = src->i_ctime; > + inode_set_ctime_to_ts(dest, inode_get_ctime(src)); > } > > #endif /* _LINUX_FS_STACK_H */ > -- > 2.41.0 > -- Jan Kara SUSE Labs, CR