Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29476982rwd; Wed, 5 Jul 2023 12:25:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlEXDKF6ZQPvBY3/QsraQ8V5rnv18yHXhQ8QOpMwot/dWVXRtkt1j5E0VyqPgVveaqvoEMeq X-Received: by 2002:a17:90b:3105:b0:262:e598:6046 with SMTP id gc5-20020a17090b310500b00262e5986046mr18940684pjb.28.1688585111827; Wed, 05 Jul 2023 12:25:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688585111; cv=none; d=google.com; s=arc-20160816; b=1Cw99j0r+gFsrii/mLb39NrmU4AdDD9sn0FQwn9lvBlMo0KwGkTpqd6sA3bptlMZ22 FpVecNrifHCr4O6uUNquKnfd6Hnqv/LgdhOztPs/y37Al5TwvAJnEFjsMrG9xRVV61xt YZ8f2wTXAHQkTyAfjnuEo+mEJrqXfWHlxKV8ySsDUD0c99e4vMF91GeMcbpKDiIyJ4Qn OQwba+UBcIr8u0c/P/fFQD4DgltBPJqttPrI2hQyAcrmGgAGY3tRPGVzdt9dOmc0tjR5 qczQf0ZU+TSGc0DKQX9sxSxQDKgpGL7c/LRIshr8MxEqL9GnHXHDOPs7u9iBK8pxnHQY 9jsA== 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=GSRuxb0KMgKsO/Rt3+rvbC4EqFsZFkfTkNeqKSSm89I=; fh=MnumwSc2Lu5kQ7dcvNoe84fV8IrhKdisdHLTZIbGVWE=; b=xbbyNs4gZHFw33ZuS8CzxXdhwteRiaRCeQmZZk06No6Mhigi9v41wUDK/CJ0+dKAZ5 4ZQuV6WADdpx3YfndV/Y5PppqpsbM1pwHTW/NnHWSGf4vFBwo+TpOn1jM9o2fXsxiuHA 4jQDQv0qzZDHAYgItcKsWaLU1sCdNs6MSrfmPhaC/9BYcwgaXqpKqA79Wp1WtU1nsx/u TSiPnPFqw4TqCtZxMzQzfAK8s8sMJWm07fptTx5imoWWj4RN2JXJun1IL6aH26H+AEce FYdKBw5CF1N8MpCp8SlnF/bF6F8X2XdXPr+txlbItRELuzpJqvhPmzbk2W7l/EtLtEcc X13A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gs5vb9BC; 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 q13-20020a170902c9cd00b001b803ab0e27si19515795pld.360.2023.07.05.12.24.56; Wed, 05 Jul 2023 12:25:11 -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=gs5vb9BC; 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 S234100AbjGETKa (ORCPT + 99 others); Wed, 5 Jul 2023 15:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233812AbjGETIn (ORCPT ); Wed, 5 Jul 2023 15:08:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A08571BC5; Wed, 5 Jul 2023 12:05:40 -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 99209616C4; Wed, 5 Jul 2023 19:05:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79B17C433C7; Wed, 5 Jul 2023 19:05:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688583936; bh=hA94f6wyhm1dscTfqscmBzMcM3Ka33XMmF4YRR7LFAc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gs5vb9BC62hWj2fkEaoviFSqLfo2N8woX+4CHRNL6DGgiWkzkXKb/HlarndUpvCaK 7aQYIkHFVUZjqXOeVmRrEJmNhiMo3KJRw25Xh7nsmNIMcVPrprEBBIAb1w35+Jf6Bx kkNUTezh4p78c/yPAaRaLT4W929h5r2fCcbTfNEsypPhg2aFqSCBI3N6Z1kx0NMoaA xSIYm0+cja1oYkzX8uiHuZd7vBCuOs3Y1zcf/ymo8gTicuCGegflAMz0PjIAb90J2w ojVHqPAl1fw8MPx3zhlLe21rP3ZV3vKwtlQRF3k562RheM6p4etqDVGbL5scbioS44 n4lOmlZWLZOOg== From: Jeff Layton To: Christian Brauner Cc: Al Viro , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 84/92] linux: convert to ctime accessor functions Date: Wed, 5 Jul 2023 15:01:49 -0400 Message-ID: <20230705190309.579783-82-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230705190309.579783-1-jlayton@kernel.org> References: <20230705185755.579053-1-jlayton@kernel.org> <20230705190309.579783-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 inode's ctime field is used. Switch to using accessor functions instead of raw accesses of inode->i_ctime. Signed-off-by: Jeff Layton --- include/linux/fs_stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs_stack.h b/include/linux/fs_stack.h index 54210a42c30d..010d39d0dc1c 100644 --- a/include/linux/fs_stack.h +++ b/include/linux/fs_stack.h @@ -24,7 +24,7 @@ static inline void fsstack_copy_attr_times(struct inode *dest, { dest->i_atime = src->i_atime; dest->i_mtime = src->i_mtime; - dest->i_ctime = src->i_ctime; + inode_set_ctime_to_ts(dest, inode_get_ctime(src)); } #endif /* _LINUX_FS_STACK_H */ -- 2.41.0