From patchwork Thu Sep 28 11:02:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 13402614 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 545BEE732C1 for ; Thu, 28 Sep 2023 11:05:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232114AbjI1LFp (ORCPT ); Thu, 28 Sep 2023 07:05:45 -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 Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org 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; }