Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3167606rdh; Thu, 28 Sep 2023 04:57:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGHxZXLvLhAoW97As5j0QERORVXHU9FEc31t2z75bMhoZMfAGZGPqA2mY6IlS1wz2+5tOgt X-Received: by 2002:a05:6a00:10c9:b0:690:c701:e0ed with SMTP id d9-20020a056a0010c900b00690c701e0edmr865305pfu.0.1695902264584; Thu, 28 Sep 2023 04:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695902264; cv=none; d=google.com; s=arc-20160816; b=kabwetjGRWGXr40q2HYV2No1qTmkX2sxz//IwBBVHU4VZwyAwMKHSxmabjGJGofV5f JVKeKd0nLSbkAd0OQMgqDEK+RtrbrYeHNNrqytzyUWrdjaVeOfTA3eCbNzmqqoJIY6Td gYJ0SIdmcvz/K39c4Dufqcug9iqFWMpmd4SLhUKw/5iVDFZYklFUwRwlOKQCSp6epUnV MlSRgqTnai7QIdjmxoJ5N+3gWYGPB+Djb/UCn2N40Je9K1R18mvHptCDI5rdmVoXR29k 4EcpLuz+tDrHkavO4d1cph49GOykNAMbjxzxeewgumF/dryyepUwcsjhdEvSMuJVQllx Hs8w== 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:to:from :dkim-signature; bh=NWR8tiLhXh0//AKe/1x+nA7DQR8NYbFe3lZKxV87JEM=; fh=c1hve9LK7bidUltaxotdOOkNtWZ8Drk/KOyPdUWU/OI=; b=HR7zX2+LNy6Mz2ClGSei5tPvUe9JBNXFPKds8baNuG7lEaDT9djoOHeHu+JwibuAYz vgwcabzvgu8GtR0v+c9TVdVIE36WWIFIJP4aQrMZmyAAg+S6gt50wxyT7pTLOf94c2i5 KeG2Fl+hy1X9RQ+1fZ1s+unfHOfrrVgxvmzUpTD6tcP1LVXZBvs49Zv+YvFKwZMGCRYq YQmmyJ4MsdbZvzlBLtJLfFs7ndMZixHoy0nfGFEyZmnFHoGT1x+uYoz4RezUtljzLDVw setY+wNbwTa6M0Kmdc3PHnGcAKA41vVBAPgLczoZxjwfAsgRccZMjiws5lzFNyTqm6Ni uOgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lmlkk7dr; 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 bs64-20020a632843000000b005855ea4b519si3850856pgb.145.2023.09.28.04.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:57:44 -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=lmlkk7dr; 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 91AB48060505; Thu, 28 Sep 2023 04:10:34 -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 S231532AbjI1LKC (ORCPT + 99 others); Thu, 28 Sep 2023 07:10:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232425AbjI1LJR (ORCPT ); Thu, 28 Sep 2023 07:09:17 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73967212B; Thu, 28 Sep 2023 04:05:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BC26C43391; Thu, 28 Sep 2023 11:05:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899131; bh=zVtZIifGPxJTqvfBSth/QiVBDUFp/kv30UuF+2f2ZAU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lmlkk7drKwVLRoZsRFrMeORT8Twqn+uCMlk8R7fhZ1YEJ62CT+3a2dlYbPTJTi+Bi bl0fJyL647QZBCPOGDvDefy6pNK5+av+mHgk7n5YXoWqt2iDkiZygvT2TliGfKmM7q TjqFFaniLkn2W/fKZZvbR0JtdVmkPl+lEHyZMU+ApaR2leQCQAIZzx0BWE31VVNmyp DzHxlczPRUoz1NPa9JoiJ8nbIDTVZT1ljmH/DAFVqX37WOgWpJqW9IIWtaWE1oFGCW csYEL1QNtrvBMVyf8fKVe917y6DSFiuK1DyS//P6rJbqybpPGPW4jq6L6VQ5UiqPAg jaUiJmcGHyVtw== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 66/87] fs/romfs: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:03:15 -0400 Message-ID: <20230928110413.33032-65-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:34 -0700 (PDT) Signed-off-by: Jeff Layton --- fs/romfs/super.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/romfs/super.c b/fs/romfs/super.c index 5c35f6c76037..c09d81b548e4 100644 --- a/fs/romfs/super.c +++ b/fs/romfs/super.c @@ -322,7 +322,8 @@ static struct inode *romfs_iget(struct super_block *sb, unsigned long pos) set_nlink(i, 1); /* Hard to decide.. */ i->i_size = be32_to_cpu(ri.size); - i->i_mtime = i->i_atime = inode_set_ctime(i, 0, 0); + inode_set_mtime_to_ts(i, + inode_set_atime_to_ts(i, inode_set_ctime(i, 0, 0))); /* set up mode and ops */ mode = romfs_modemap[nextfh & ROMFH_TYPE]; -- 2.41.0