Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9504059rwd; Wed, 21 Jun 2023 08:13:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5tf9x2DSQrmTxPKsW1PmlYUPbG+x1XUne/dHoYgxhDwrptotsYve/3Z6GPFST275tpgLUS X-Received: by 2002:a05:6a21:900c:b0:10b:6b1f:c8c8 with SMTP id tq12-20020a056a21900c00b0010b6b1fc8c8mr14070995pzb.31.1687360432690; Wed, 21 Jun 2023 08:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687360432; cv=none; d=google.com; s=arc-20160816; b=T4j6oevXZQBSXO1AHeekYTrMpRPW4iWUJsW7AVP+q306JO1E/bO4WfoKJDK6FnERHR XwNP5bMzjNg1JT/jQyRGg076SnEbCmRfUpKYEsAvHHYW2ZEx+4hGjwZE55p/+iBq83MY /ocfvWuuoGp1VpcKZs+w30eW2Lc7baf1eh6jT6+sQBVjln3GUm+C27R/mem4RDvSTb27 dlOnmSZgJkBYGILJvg05Wca0JOi9JGtkEMR5IRviJ3QhGWE/jZ+vRSjQZMr+h2NQ5v+C PB9Mcjq5eCN1V9JbiTtL/vd6MVdiHjLJA/pQK0a3b3oTo3vtqUCYxoLdVDlZbMD1pslY Lgog== 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=yPywnJW/XIFFDrzugFk47zW2K46iAhENo+A0DXMHv+4=; b=mTuuDJUr1LqIoHnoxTNam8g13OJgQgTT/dSyfM4zIR06L6ToXoR7HDHCGcIGe+xsvb +1RFR+5/g9bK+AZoPGebTj/kVvDRKBIUcjD97NcxJoDOUM20DTXSCbtTnpa2NM0OKU4u W6HOYphau3gjrDKTJ6zRkGa+fmM9Vpge524NV2mUa2MNyAzIFpt7TdOKD/n6MKNEn9fk yMwLd+Qqwlzjn3E1Z0TCfpoR6wUTrW9OC6zqfgLUb4+wXgcSyTMkBwOs/FJ7p2vhwkcA wS50mx4qqrOEUcHIVFP+0LZBJ7OFA+8TVaF1/yThFftGJxVhrhLB9oUg8g9p0QXSl14Q /MNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=apsvDESF; 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 k8-20020aa79728000000b00662db175212si1518669pfg.47.2023.06.21.08.13.40; Wed, 21 Jun 2023 08:13:52 -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=apsvDESF; 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 S231946AbjFUOrp (ORCPT + 99 others); Wed, 21 Jun 2023 10:47:45 -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 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 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