Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3148959rdh; Thu, 28 Sep 2023 04:19:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFS+5gJoWS/tUYfucLQiRVeQqkMcADAfW00swyK1vxoV7jmmdVv95QuktvSDz9qRYcD8JQ0 X-Received: by 2002:a05:6870:c1cb:b0:1bf:54b9:800 with SMTP id i11-20020a056870c1cb00b001bf54b90800mr859797oad.59.1695899998967; Thu, 28 Sep 2023 04:19:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695899998; cv=none; d=google.com; s=arc-20160816; b=G1am1MHLkqwZwUVNG5N+DXZUfwav6qyZbXdIaX4bCW668kCROAJKQ29ZtTMQ964HgP 6fwpHR6aj7pTe4bNF20SXr8KE16B8WwT+WVqDHUnTXvmWfwLi9XurygWMEBcW9chMH54 pkT0aD8ia+IoyCivoS0/ADYZUTCz0CEHZlNyOu8CQSY3jaYTAPyMt4JhTkBNXUggwYWM 1A+T6vjnopQwPUcpzfbvZtWBX1rkse+dK6EWa/TZ+8b7LEAac/xcRX+20FYyiEkvIyCj XdYEe2jBQZkN6IVxzDjiV5OkO2dYY7YAy54YUIuKBPcGSSaqJJfMh5pNnf/vF4SdLjN/ h+3g== 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=ZJyLRra11WeWd6QOcwd/GZDkPhWBeNWhz831+YkZn1E=; fh=c1hve9LK7bidUltaxotdOOkNtWZ8Drk/KOyPdUWU/OI=; b=xbycgKNJAuFboThALc9sRRpS54fSS8rOTzoSH1ORQzHyIZ3NSOhWWJe86EgIOpvRg2 LQYbQtc7aLjCXOUFPEeuTBmx8BWkwHqMBFWTNC/Jmhb9B8dQxYebiJa23++HhwGfaOLc PfVbO9Q6oeFQLqQQR1t9+eirAXV8XnGb1YryshqEWds3xx6YGdlStV6bG9E5Cch0d3op V/OWbA9SRofLrLFIxOwvGmzQTijGpd4j49e+UVcd6mc8EapjPKGG6ng5yXnCqZJmOUHE kaHClBL5z4Sn2A/2ngoljYrXYfR2giYln4Q83HDmh6Jc6Ubq7c1FipYLtakF+/9B/B+j 9fLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m4E24nlc; 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 s64-20020a635e43000000b0056ae965c533si18377141pgb.16.2023.09.28.04.19.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:19:58 -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=m4E24nlc; 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 E0D49853F2AF; Thu, 28 Sep 2023 04:06:40 -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 S231913AbjI1LGB (ORCPT + 99 others); Thu, 28 Sep 2023 07:06:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232098AbjI1LEp (ORCPT ); Thu, 28 Sep 2023 07:04:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE9081BF; Thu, 28 Sep 2023 04:04:42 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 076DEC433C8; Thu, 28 Sep 2023 11:04:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899082; bh=HiIKHh5EcW/iS72FPhqe/DHHFDkon2IkVvSanOATOiU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=m4E24nlcsoUVf3iXi3sNHBBkxoN5T5YrnZm9acWarGGWm0NqFknQHcE37lDrpXATf dVapd/Mu1gNACYrTYBPTtLxfANwQ1c953/lWmA85n8KnOr6mcQk07SiT/nliArch6e YRyJvdz5tWja1IunIUcGDzt7oIiefCDmfljgyunhH6JvjkeCvtsgt7cmGlCcvpov7u BvRPRSmMvsZr9Ih0bKoev3o1OQcgS5vV8nkjlu8BOCZ9j/56bqLKRCfjfmaFm7kXJG 3Klbm+EI65J2J16Tg3oOSy0O6a2SI49BWTDnqbsqJXlmzMxbTVCe/SYpOKQvTa1HDC RBzotlpNnbbAA== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 26/87] fs/cramfs: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:35 -0400 Message-ID: <20230928110413.33032-25-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:06:41 -0700 (PDT) Signed-off-by: Jeff Layton --- fs/cramfs/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c index 5ee7d7bbb361..9168b2ec9497 100644 --- a/fs/cramfs/inode.c +++ b/fs/cramfs/inode.c @@ -133,8 +133,8 @@ static struct inode *get_cramfs_inode(struct super_block *sb, } /* Struct copy intentional */ - inode->i_mtime = inode->i_atime = inode_set_ctime_to_ts(inode, - zerotime); + inode_set_mtime_to_ts(inode, + inode_set_atime_to_ts(inode, inode_set_ctime_to_ts(inode, zerotime))); /* inode->i_nlink is left 1 - arguably wrong for directories, but it's the best we can do without reading the directory contents. 1 yields the right result in GNU find, even -- 2.41.0