Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9474983rwd; Wed, 21 Jun 2023 07:56:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EKSNEVlAMJ2AP5bXa3pa/Efpf5Gf+6xFaQHSXFTMYBiG+hP3mvian0lGDLmqgqgsOFD4v X-Received: by 2002:a05:6a00:3923:b0:668:6723:547b with SMTP id fh35-20020a056a00392300b006686723547bmr9577647pfb.2.1687359390574; Wed, 21 Jun 2023 07:56:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687359390; cv=none; d=google.com; s=arc-20160816; b=YAYZpZqYVS3gY+OKsjMDG9DU4jPVBnILEsTTBACm1gdYat36fy+wGYuKFcqa2tfv6V fmfdqQtiOKTr1Mkv3Qc8YP4GvS3wgMjdsQy1AahM4QgKkpdF1whxVI9i2vSzk3HxI+iC WcJqW1FeEJYcRIf/xfvc38bFZgQA/yoRb6LfC9RBNjo0Yf1Zf0mYKQUEIK5Jx/kCnq/q fBIyeCNTSCwrBCBBpUk6Pbq61gJyJabycWVgbiISqd+eYV4s9uSDiD1tQVNEIv4MHjaJ rzFagto1NKccDldacoSEIzkSUpip/ZAf3ABXGkTxEZN7tjr4ib4lLqDjq/dmez9W2E6c W9dQ== 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=HgyKn+JQqL1b+P9SKqpeaNM/e/LPE5T28ZXWGdDb/jY=; b=qmZcEYtAvzClyvt80ThGZrFyC3U5RI4eAdnX2gSP0LNa2TRPV5w709AHlrG4p2uK9o 71zJyfMewCMSacFKmdzHKRXxoqhuLrB/bcCx5rN0Twvdfv4R1tWbadu4DhHLlCztxEiD GkM1IEy9c4a1DBL4v/L6Ri2iYDCLCAOe/DEef5L8X964Sv08MNpF3WI08ouxKYgxhshH 8o0tEI2n93vjlhmzeoqWYeSMIQjR00tm3l0fkmpl9BbCS/ZpmPHZzwjvwWKPF+V4gyKW SaWLp+OAljRSLhmWWQjnsISZ4uekZnwvsAs5+a83wfL+TTcTZnPJAZE4kF+OFT3SxKqU +swQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b0fWvZzi; 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-20020aa79d08000000b0066733d71d01si4055517pfp.317.2023.06.21.07.56.16; Wed, 21 Jun 2023 07:56:30 -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=b0fWvZzi; 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 S231734AbjFUOrt (ORCPT + 99 others); Wed, 21 Jun 2023 10:47:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231959AbjFUOrq (ORCPT ); Wed, 21 Jun 2023 10:47:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C05051997; Wed, 21 Jun 2023 07:47: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 54D236157B; Wed, 21 Jun 2023 14:47:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBE5AC433C0; Wed, 21 Jun 2023 14:47:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687358859; bh=SerVS37LZ+M9Q1DrVXe11/DarECztwBfuFbsJZAaL/s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b0fWvZziCaDEPNv8e772X/4hR0ZOvdZvEbjB6p+JeCO+zyl3Iy6ikH62A+bQP/ydN cQaq5bP9anibGG10Aqrfckh6kUGFswV7aHPM/cPOiBKX89C9oUvTA4YvJDulF5h3cb OVap2sebFw8Yly04wHw1ihAaQQcVQwegi11RFHA400KxId71KUhWQhzZPZ/NV+VaS8 MmV6ItyfcBfC5wEQqDJJdt8SnF7Ym6jI/6ZzH+Ebt+3JPW1vY505jC90DjKbbiNbkw hoEAoBTSoHXOD+TcvXEp6S8970563oPpdjqLM7HAhbgLR8bwiAOQzZVSo7pbf7GZsE 9Us5QMgUSJ8JA== From: Jeff Layton To: Christian Brauner , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle Cc: Al Viro , Jan Kara , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/79] s390: switch to new ctime accessors Date: Wed, 21 Jun 2023 10:45:16 -0400 Message-ID: <20230621144735.55953-2-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=-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/s390/hypfs/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index ee919bfc8186..30fa336ec63e 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c @@ -53,7 +53,7 @@ static void hypfs_update_update(struct super_block *sb) struct inode *inode = d_inode(sb_info->update_file); sb_info->last_update = ktime_get_seconds(); - inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); + inode->i_atime = inode->i_mtime = inode_ctime_set_current(inode); } /* directory tree removal functions */ @@ -101,7 +101,7 @@ static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode) ret->i_mode = mode; ret->i_uid = hypfs_info->uid; ret->i_gid = hypfs_info->gid; - ret->i_atime = ret->i_mtime = ret->i_ctime = current_time(ret); + ret->i_atime = ret->i_mtime = inode_ctime_set_current(ret); if (S_ISDIR(mode)) set_nlink(ret, 2); } -- 2.41.0