From patchwork Thu Sep 28 11:02:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 13402596 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 1B3EDE732C3 for ; Thu, 28 Sep 2023 11:04:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232174AbjI1LEw (ORCPT ); Thu, 28 Sep 2023 07:04:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbjI1LEb (ORCPT ); Thu, 28 Sep 2023 07:04:31 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45D06CF5; Thu, 28 Sep 2023 04:04:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D01CC433CD; Thu, 28 Sep 2023 11:04:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899061; bh=3ALQnVOlECoxdHtAC/FoUF2rGDdvF2VfrJ2fGjtK4Eo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OEaWy9rwkdDpoRIztwChRCTZrAEBrOEnWg89WwylxaBIO9kvN199Lm4Swvjrme7uG WjWBpyZXY1wLgWq79or7mK0GZ08aCkTAjMiGJZz2dxOGDJzOjv8lO5fzOvA5LL/tN2 V54d0WWSmPyB+/PT+cy16Aj4W3p5uhVPeTAr8/ph6f7UEITATOL+EKwtQliLO4DGWp IGYZp1fq7rX4M/GV1XiOfqTwbW/7+bUaYv5+jmWJCL7Av2e4wpzVAqXxZu+TU7DxSi 1ZZLOkBIC8yuzMTrQBnIpnGyP749mkPkWHJThdcLqToOdpSb+zfjQmoRigk/nVh9dP arV6TDYYVE2EA== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/87] drivers/misc/ibmasm: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:17 -0400 Message-ID: <20230928110413.33032-7-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 --- drivers/misc/ibmasm/ibmasmfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/ibmasm/ibmasmfs.c b/drivers/misc/ibmasm/ibmasmfs.c index 5867af9f592c..c44de892a61e 100644 --- a/drivers/misc/ibmasm/ibmasmfs.c +++ b/drivers/misc/ibmasm/ibmasmfs.c @@ -139,7 +139,7 @@ static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode) if (ret) { ret->i_ino = get_next_ino(); ret->i_mode = mode; - ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret); + simple_inode_init_ts(ret); } return ret; }