Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3145477rdh; Thu, 28 Sep 2023 04:13:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF21MfdB3KXyfr+OrcYX5osOifz9nVtFMHV508QOc+2PLExHHVvt9pCReySPfuAO+mCPZzd X-Received: by 2002:a05:6e02:214c:b0:34f:2edd:9213 with SMTP id d12-20020a056e02214c00b0034f2edd9213mr905472ilv.21.1695899627554; Thu, 28 Sep 2023 04:13:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695899627; cv=none; d=google.com; s=arc-20160816; b=JL4kLZIh9kKECFhYR2jmOuiGyUSk2Ufb5+SMVGoZXF9Cw4C4bHF1twvTQ9OcpoJxs5 OKsZePUpUdgOJlPwNUhUkqDh3GTBslbLsmDGxfj9B71L0Nw8cr/s1eWoixf3I6vrvw8i cMn9U5SBo18NJTphyr37aYAd9xEjYH2zS5dW5dxz4a5RblwpZvV87Y4SvMFNXkPK4tJu haAMyy/HT4H2WIBCTFM+60J0JxXbXf3kOMvrhYzweQEXi+FnE+D7ZJEqTSod2pqey3v7 2BQv3C5lwpb62ZmT0GHArpPxnPhAnvvIdwJIiInDtcOXZFn2zQGHYs4/9vvuWwz1wWwy igYQ== 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=U821WjvtUzBeBQRAwhxtlW8jNcUJpGWus5eNptaUHKA=; fh=alN9iiYU7VU/LyDGC48ggoW9bbwq3WwAF7zkwWi62ns=; b=AcND1sNVRjAsJguE8shSae5J+ZbSIoDmDqRWwZWVDBqxKH85vw3CCpiKM7B78S4jqJ rM0kfNRZAskHQY+Rf/ghMxloY5RYf0LfoEatmdNQckYjNhTxwcEgyRH6iS9JC+Qdlzwj 4xrDqPURZm972Anp210ZMIAHtA8ASq1nGnWAvsZWP+y0JtqAjNDv1iiSlQ7okfqFpTvu YCxKtqsAj+dn56v0BOrNyn3esqYzHLn4KKxaQdan9BM6tVLY+VUDfpe3xRUb6uNpTtKC fLnR9Shky42YY6EDXkov7JFE6RTjeJYRjx5b2xHQhljTgFvTv/xwW/8pDhunwhnWw1w+ NnfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m7yc9zRc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id bu30-20020a63295e000000b0056482047ae0si17915817pgb.723.2023.09.28.04.13.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:13:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m7yc9zRc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A26008367AFB; Thu, 28 Sep 2023 04:05:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232036AbjI1LEu (ORCPT + 99 others); Thu, 28 Sep 2023 07:04:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232011AbjI1LET (ORCPT ); Thu, 28 Sep 2023 07:04:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A50ACE6; Thu, 28 Sep 2023 04:04:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09596C433D9; Thu, 28 Sep 2023 11:04:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899057; bh=U6qTldvG3fnDRI2mBCZNMHraM10PPaH0RriqZeKhZ6A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m7yc9zRc/odRQoso3YxHFM+NP/EUIFaS0rMXd3b2VBxPHAcmvyIcGYNB+9jyU5vAR tSY/B+A/l8NBBUmla4ygqg/8Hqj2TgzSv7S0uDHLTWtmJ1U+WYNTi+W8Rnds0zE64o Z+ttMm/1ejLfeOUEfEeRB7Q7j5FA4ez/S65LspZtw6811mfKd0+SaDkER9iLdgRb42 mU9uzo6A8ABC+t9bWsEndtwI0Ocpp+k58mAcGbM18r4ak9HDXOJ7Y29+QEauZbjia6 mwT/NqlaIfBrNZRf3PqwteQay0XIUSG/4ftoYIpb2LHrtRQoAVPRGdj9dXFfZcMwGS oeJcCnAHeellw== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Borntraeger , Sven Schnelle , linux-s390@vger.kernel.org Subject: [PATCH 04/87] arch/s390/hypfs: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:13 -0400 Message-ID: <20230928110413.33032-3-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230928110413.33032-1-jlayton@kernel.org> References: <20230928110300.32891-1-jlayton@kernel.org> <20230928110413.33032-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:05:40 -0700 (PDT) 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 ada83149932f..858beaf4a8cb 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_set_ctime_current(inode); + simple_inode_init_ts(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 = inode_set_ctime_current(ret); + simple_inode_init_ts(ret); if (S_ISDIR(mode)) set_nlink(ret, 2); } -- 2.41.0