Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3167727rdh; Thu, 28 Sep 2023 04:58:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBiFCxjSopjGj9Mxgt5Pc4THSqYKXWO8vYyV7s52Pg2HZGwuUvh611CR2iwmihiYCZwWlp X-Received: by 2002:a05:6a20:1613:b0:154:edaf:f410 with SMTP id l19-20020a056a20161300b00154edaff410mr930191pzj.58.1695902282470; Thu, 28 Sep 2023 04:58:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695902282; cv=none; d=google.com; s=arc-20160816; b=yxGxw79/VQmxjYeg0afu58dgwAgmB6EJSJtVvqn2v7W/up33e73ChyaavZxDKR+h1F dGS4wrZ9uv1cPnol6Trz5SOlcJXLsSHWHa81Lqw8fDbGgdrd36ArlWKWGsJA4ViN/+uX bOy3iRbqfnBZ9Cot8Uksjz3km9+BnIcXbMrU2qO5gRMNr/q0ei+GS0nCYxRViTyDgpk+ AyrSbnzv3PSx3oZFZog2fRpgOgqScuh5Fgf7M2ousTF22yuRd2Ju16ylPulrqLvrjMhd /fBgWTOUClxZcUyFdXt+FH3uJ4IrsLzN+mAfJjZT/10lu78kyS0dsqlFULPRnqruNq7s lHsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tmozQi9jxad2YEEdpMh/VOqdgWkgYoo9QrE7uFhTAIw=; fh=YrYPsgI6aDgoToY9/x6NbYk+xzgS1IfwawNeKZWLDos=; b=gl1zRkp5gIvAyUO8yath+kSY2DTvxSpE/J5C6kOg03F21zXqUz7vthqJt9hrRIRaaa B9ds6+tex3FJjLde0KDuLc40zP62T3krPj4C0eF2gIIeThZvAApcCjqrn1+iA4Lw+CnB hCuGWHIkMtjZRtx0g55rzj7+57/5pYWn7DnN1aTNPog9zW45xIRqREMe7YONiZ/gPwOf Ebkd/YmCKISF9wmzAdHePF8TgCURtYD7eCXYwIOooad573nCwqT5NsaPCC/boVbSSXqj Vm6Ptu2NKWvm6TfyIuetGy807L1nh8MgdJdyJpp5TLo8Hs0ZIPumebiX5Fs2fmKbrVpz xZlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ijFzJW4c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id j12-20020a056a00234c00b00690fa75ebc1si14216803pfj.108.2023.09.28.04.58.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:58:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ijFzJW4c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 2D87E858F7BE; Thu, 28 Sep 2023 04:10:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232130AbjI1LKh (ORCPT + 99 others); Thu, 28 Sep 2023 07:10:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232294AbjI1LJi (ORCPT ); Thu, 28 Sep 2023 07:09:38 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 690CC26B3; Thu, 28 Sep 2023 04:05:39 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72987C433C8; Thu, 28 Sep 2023 11:05:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899138; bh=zDn/Ij6TBtWvdCEvJTtOwehmMOvptapRgeuVaso0uSs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ijFzJW4cuQ9fvepQ4QbAqhY1xHi6FqUvrxv+2eCHi3q0Aey0DW/VtkRgLjR7RFLlm 6g5j2UNO5bHQ0X0IlPdoFEZG6QEjFdvHs332J2wWEx7BPFM0QHhY0fMLO1MF9hLHal sNmFtjcM1PWglRslerRWQHMrAKUYe4hK++c1uwrmmSxu+kzIIGBOZB/cchtyk4QUTr y5pchHnyq21q/6/2TPLBnB5JWm75TRVCX50ZDLKTwYPtJPAhFnLUdf0lIC+mlfUD13 QcUec2b3lIpXTPHDSbnlioAZuQ9UI/OT83TkwubLCNKTKgZfFN1vvGMVxxKHRgDh2T EjoRzndctc5PA== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-trace-kernel@vger.kernel.org Subject: [PATCH 71/87] fs/tracefs: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:03:20 -0400 Message-ID: <20230928110413.33032-70-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230928110413.33032-1-jlayton@kernel.org> References: <20230928110300.32891-1-jlayton@kernel.org> <20230928110413.33032-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:10:57 -0700 (PDT) Signed-off-by: Jeff Layton --- fs/tracefs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c index 891653ba9cf3..429603d865a9 100644 --- a/fs/tracefs/inode.c +++ b/fs/tracefs/inode.c @@ -152,7 +152,7 @@ struct inode *tracefs_get_inode(struct super_block *sb) struct inode *inode = new_inode(sb); if (inode) { inode->i_ino = get_next_ino(); - inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); } return inode; } -- 2.41.0