Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3179005rdh; Thu, 28 Sep 2023 05:12:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEDhgTMFlckJPrCd1YQgwSU0GF03fI2utOABE9n6Im0Hfg/BDDi5eYogdqcpNpO2MYXXx5k X-Received: by 2002:a05:6e02:1c8e:b0:34d:ea35:842b with SMTP id w14-20020a056e021c8e00b0034dea35842bmr1020914ill.27.1695903175193; Thu, 28 Sep 2023 05:12:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695903175; cv=none; d=google.com; s=arc-20160816; b=ijTD6IkVS55HuuLlBwp976zf4E1vfdij7lh2HSvH2TT3eOOn2+m79zdGoKk6xH4YAY jbDlpsGLjbqHAFRmS7uk1IqEOypYLGdqkQ43QY/Q8PCHdR79WG37v0E6n8dhC4DFXPnk /k5PZpxuozQ0RnZaAbyco2ZBeu4DHfnGmWGq7xh9tI/ggytmDuoxLWSDllYTfiAtQaL9 SL0bqBba2xBLPgNMPZTHoGcDAx2PsweibzA/7P3Ewa5S5N9bJ2sHbHSs1g3PTEwmo94a /PzFOAKHn2O1TeLSG524jaWBQsPho0yRvYoBWmuZgbAVoctdD2OFvzmzp/2WFJGd0P9r SyIQ== 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=etXdnYIfsA5rXUKSoixPxnnNeBV5BhaJ42NhXJwNuHg=; fh=x+1U+LJYd0/ljzTnC8XLOei3LVvo+3LKL7WiISSQ4P8=; b=rofSGHKMi2LrUywNCAxGxU9IndBrmUJFz7GG78KAsK4nFIzd8400wU3YNDv6zYeWgC 8bqwPf927bNRB2uCJ4Y33QoFzLyraeLfG6d0rb2BAGSSlK5lNgfulDscOZcU69y20zaJ QrQEkbVVUdCmcRh0Eu3TisBfHv+zHhkxTA2daRKv9zDrXSHPcCLcfLm8Ax/fXdUiyXoC OfE6xUP6eljQab3lMjml3Rn2WIdCX58PdjcV/dyGMx4MgP4N59R81FLaPc4lPCptJOI8 fADiNifRQhOICLmlgQLSzHZm4IkPdEge83SfXtEVpcwAJxAA/uIBqedGNxX2QcbyyWyp E3CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="sprPS/eJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id cm3-20020a056a020a0300b0056fbf85c74esi18936760pgb.786.2023.09.28.05.12.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 05:12:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="sprPS/eJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id EC2C582F34BE; Thu, 28 Sep 2023 04:06:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232051AbjI1LGE (ORCPT + 99 others); Thu, 28 Sep 2023 07:06:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232107AbjI1LEq (ORCPT ); Thu, 28 Sep 2023 07:04:46 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E5CBCC5; Thu, 28 Sep 2023 04:04:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AF72C433C7; Thu, 28 Sep 2023 11:04:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899083; bh=J5LLSTFm1D1vFFNx5ZBt8xQQCcwQ5onLAqAizpMXWR8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sprPS/eJlqGW94D18GotZfCdrkwyf9fKp2FHDS0LNbulwRIOP3NPW18QPk1v8i/rt cvQniSz4oIxJi//zB5mafYKpnEF2ZaEV/jdxSZrzGQOWRg6m5I3ou5hu0hZepyzJR9 KbVM1atjUBE4iDwOg47uUsYGgpCbKlCHMOKQwPpJMmKsdxEOvc1FCl7i037iobGK/+ 4t+gGeRezDxaUXx2wybj27+utW+C65J9tur8pcCARhp2QXHMr/WPhPv7pSMRQPX6oS b8jR2CJEd2VigZaZYLUGdK14k6ts/dwt6PAcwzf8sSVyTReM86PgcyBNpkwuoDBum6 HYLVZbNYtoNyg== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Rafael J. Wysocki" Subject: [PATCH 27/87] fs/debugfs: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:36 -0400 Message-ID: <20230928110413.33032-26-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 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:06:24 -0700 (PDT) Signed-off-by: Jeff Layton --- fs/debugfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 83e57e9f9fa0..5d41765e0c77 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -72,7 +72,7 @@ static struct inode *debugfs_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