From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFD31EB64D7 for ; Wed, 21 Jun 2023 14:48:33 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=apsvDESF; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4QmRFr1JKnz3bYt for ; Thu, 22 Jun 2023 00:48:32 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=apsvDESF; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=139.178.84.217; helo=dfw.source.kernel.org; envelope-from=jlayton@kernel.org; receiver=lists.ozlabs.org) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4QmRDs1x6Nz30gq for ; Thu, 22 Jun 2023 00:47:41 +1000 (AEST) 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 AFD356157D; Wed, 21 Jun 2023 14:47:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23E28C433C8; Wed, 21 Jun 2023 14:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687358858; bh=bzR7/1XJEIemADYzLdVmp2GJuPxiemqZax02bnmC8A8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=apsvDESFYNY1TpMvSGosQO2z3bJqW4Kph5UjSvjfKDTsgEYbyILjfGmRpZ7Fxs2p6 kgPoUpMfwKkjICoAs3xmkX1U2ytcdytNIRhzXdRTXAG/ebH2o/wuRjQBeQ6FGQLXtI svLWx2c2FR8OJf71H5cNhK2axngVltHtMt/F0lG5i5mu/O/iXbjp7UVf0LELA2G3xA IKuKYbdepj6ConwJGldJUSPih+8g9I6PKAJkjOz+HOI2ERfdy+4pNzLBMubfHsHKNB J7QNRQSYVi/gm/JYgLLiugC4nH1GxcXCwl4QdGmmlNLp1LgDQnTSmTRJ9hC2ZJuFPZ sFBmbxHPVVXmA== From: Jeff Layton To: Christian Brauner , Jeremy Kerr , Arnd Bergmann , Michael Ellerman , Nicholas Piggin , Christophe Leroy Subject: [PATCH 02/79] spufs: switch to new ctime accessors Date: Wed, 21 Jun 2023 10:45:15 -0400 Message-ID: <20230621144735.55953-1-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230621144507.55591-1-jlayton@kernel.org> References: <20230621144507.55591-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, Jan Kara , Al Viro , linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 --- arch/powerpc/platforms/cell/spufs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index ea807aa0c31a..55418395bd9a 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c @@ -86,7 +86,7 @@ spufs_new_inode(struct super_block *sb, umode_t mode) inode->i_mode = mode; inode->i_uid = current_fsuid(); inode->i_gid = current_fsgid(); - inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); + inode->i_atime = inode->i_mtime = inode_ctime_set_current(inode); out: return inode; } -- 2.41.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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 09D28EB64D8 for ; Wed, 21 Jun 2023 14:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231464AbjFUOrr (ORCPT ); Wed, 21 Jun 2023 10:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231862AbjFUOro (ORCPT ); Wed, 21 Jun 2023 10:47:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CFAE1A4 for ; Wed, 21 Jun 2023 07:47:39 -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 AED8C612B7 for ; Wed, 21 Jun 2023 14:47:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23E28C433C8; Wed, 21 Jun 2023 14:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687358858; bh=bzR7/1XJEIemADYzLdVmp2GJuPxiemqZax02bnmC8A8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=apsvDESFYNY1TpMvSGosQO2z3bJqW4Kph5UjSvjfKDTsgEYbyILjfGmRpZ7Fxs2p6 kgPoUpMfwKkjICoAs3xmkX1U2ytcdytNIRhzXdRTXAG/ebH2o/wuRjQBeQ6FGQLXtI svLWx2c2FR8OJf71H5cNhK2axngVltHtMt/F0lG5i5mu/O/iXbjp7UVf0LELA2G3xA IKuKYbdepj6ConwJGldJUSPih+8g9I6PKAJkjOz+HOI2ERfdy+4pNzLBMubfHsHKNB J7QNRQSYVi/gm/JYgLLiugC4nH1GxcXCwl4QdGmmlNLp1LgDQnTSmTRJ9hC2ZJuFPZ sFBmbxHPVVXmA== From: Jeff Layton To: Christian Brauner , Jeremy Kerr , Arnd Bergmann , Michael Ellerman , Nicholas Piggin , Christophe Leroy Cc: Al Viro , Jan Kara , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/79] spufs: switch to new ctime accessors Date: Wed, 21 Jun 2023 10:45:15 -0400 Message-ID: <20230621144735.55953-1-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230621144507.55591-1-jlayton@kernel.org> References: <20230621144507.55591-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- arch/powerpc/platforms/cell/spufs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index ea807aa0c31a..55418395bd9a 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c @@ -86,7 +86,7 @@ spufs_new_inode(struct super_block *sb, umode_t mode) inode->i_mode = mode; inode->i_uid = current_fsuid(); inode->i_gid = current_fsgid(); - inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); + inode->i_atime = inode->i_mtime = inode_ctime_set_current(inode); out: return inode; } -- 2.41.0