Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9516197rwd; Wed, 21 Jun 2023 08:21:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Gm7nCC+WSK4z0itJX3jGoloJEcPQAxbz1KsJMy5ALQ2kifD2HgBUCVuv+SS5PJUa4w3dK X-Received: by 2002:a17:902:740c:b0:1b3:dfe5:600a with SMTP id g12-20020a170902740c00b001b3dfe5600amr16630621pll.31.1687360919018; Wed, 21 Jun 2023 08:21:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687360918; cv=none; d=google.com; s=arc-20160816; b=J9EeGrKmcLhZgVw75yif+XkxJJpaQmlHsogrPbwbftCvjhv9MWYsUwiA0QABIq2zQP INvv/tvMb6fOi7XT8FtRxFTywJ2wXV788N/ViCCEy9CmqhDqIwt0qv8Fg/H71ZtbejiF 3hZ0WPpB5pBNS3rPaj4DOt95+cxZn5cnbMWQG3cF1RClkCMIgnTajeulrKgIJx0knULo SlccgAqKrb01P1YY7tqdpqwL7IzQY8Y6kXDXzC7MOU3ZwLFINZxlChc5V1Tn+4fC46UW XhcMjaxDV/dooHAkm/NajJomGAtq6bcFIBQ1JIJRrYM5PQbmD7SIpb7h9M8+jq+VOOKp cVuA== 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=/3XHyck1DJF5YAuyASeuPXEPSYYuMdh4+HQSCMGVJ2Y=; b=xmRejY6rnAmTnkMMovxbKk1GtU8ICcR6Pcpe95ad/229G/Vw2N9T3Mu0+FD2Xq0feK R5RpQHk3W7EMenZ/nxXidBfvj00hI3o25ebPkUGPOc0Jha1qD1k43sga+HziV+XtSYKl iAumBlNPftAtpuemdrMNNNzFTjSzMnNFC5HgEP+X25PC/XbIuH0ls1OhOwJ8GkU6qVnE NAtE0PtOwqrVUkpaxNMf/2lThoxSQrDU9/05qvW+0fjBuMkcsfsSju+h0MEeqrqwANon GxTiLfuAzh8D0/Y8uYeIgqbTPzkUB2EwnrfYr9feA+TfTZVNi+P6BUKYhsnwGVaf7GGE NHcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UBCccNdG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m7-20020a170902768700b001b11168bde3si4219998pll.521.2023.06.21.08.21.43; Wed, 21 Jun 2023 08:21:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UBCccNdG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232543AbjFUO4i (ORCPT + 99 others); Wed, 21 Jun 2023 10:56:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233159AbjFUOzD (ORCPT ); Wed, 21 Jun 2023 10:55:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6950026A0 for ; Wed, 21 Jun 2023 07:50:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9B51061593 for ; Wed, 21 Jun 2023 14:49:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80F2BC433CB; Wed, 21 Jun 2023 14:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687358965; bh=vtvQrPGrR+t0jK7eRQgHPWabkEM1OAXF8ZWhtRTMT2I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UBCccNdGTlI5Ha0bcEzRIJatGLygln/MjrProEFyLo5R7ak5KDtMwfIlU/XPo1haF F2+Cnhz3NLRQKxD6XMWtUJQ0vZrKrnukvuu27+0bXxseESMYGqBZb5aMojsa8Jafyv K1C5l31IS74SyXai5ad4J4vWOt35AlGU5WnPCMAXMuvXLl1jZvXOqq9HEqB1k7NOsW GVQKj67tkfk45b+i08QC3B2wQPdnpp5bnF5i61mRbyb0+dTsWY9mfTtHXABl+cw+vk GSVvQSfn/jy2v6ejfybgTQLr8KWl/MqFkjCcvDE00CITxog3v16vSE0p7o7I4Bdvlx QO71PSpC0basQ== From: Jeff Layton To: Christian Brauner , Phillip Lougher Cc: Al Viro , Jan Kara , linux-kernel@vger.kernel.org Subject: [PATCH 63/79] squashfs: switch to new ctime accessors Date: Wed, 21 Jun 2023 10:46:16 -0400 Message-ID: <20230621144735.55953-62-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230621144735.55953-1-jlayton@kernel.org> References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-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,T_SCC_BODY_TEXT_LINE 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 In later patches, we're going to change how the ctime.tv_nsec field is utilized. Switch to using accessor functions instead of raw accesses of inode->i_ctime. Signed-off-by: Jeff Layton --- fs/squashfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/squashfs/inode.c b/fs/squashfs/inode.c index 24463145b351..3d619b294c52 100644 --- a/fs/squashfs/inode.c +++ b/fs/squashfs/inode.c @@ -61,7 +61,7 @@ static int squashfs_new_inode(struct super_block *sb, struct inode *inode, inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); inode->i_mtime.tv_sec = le32_to_cpu(sqsh_ino->mtime); inode->i_atime.tv_sec = inode->i_mtime.tv_sec; - inode->i_ctime.tv_sec = inode->i_mtime.tv_sec; + inode_ctime_set_sec(inode, inode->i_mtime.tv_sec); inode->i_mode = le16_to_cpu(sqsh_ino->mode); inode->i_size = 0; -- 2.41.0