Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3160346rdh; Thu, 28 Sep 2023 04:41:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFwELkQPEU6AT+XWQzoNl9ByDMWQ3Gn/zTknJl9yXTR1l9gktkIY49ZWoaEsF+ecXNV+FV5 X-Received: by 2002:a05:6a20:7286:b0:134:a478:5e4a with SMTP id o6-20020a056a20728600b00134a4785e4amr981355pzk.17.1695901313637; Thu, 28 Sep 2023 04:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695901313; cv=none; d=google.com; s=arc-20160816; b=Y699rARvByTFo/qgjJKTbXLxoYKozbitCgi9ZVkoU2rH7ut53CiBGzZc54GhKDqcLJ pZJoh11qqZRVlzgM+XUo84X36bKNX/ga9RVVXRZUjh6Lqz9+mGZIVTl1QB6P5BLdFTY0 pm92E9VuEInFREqiSKZG/ejCPwqHN1BuScjXISJITyEKEwwoqYsPRKHMUKHxO+UXNCsC rIwr0idlxIu8XvsfeKXJAt0kPQEC/OffmDMpfDKXuIZkaMRWDKEpAiv0amKsFZk7vQDc +I/lrJE0HFHMmrxvm0792jCiacxenzbx1bOEZsPQhyCPBJNosFpKxgYAQcNwXYZ1N4PR ZLTg== 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:to:from :dkim-signature; bh=1HwDSz3ekSBbmxgPyggbMrMlLOlEdH4hBAdImTTauGA=; fh=c1hve9LK7bidUltaxotdOOkNtWZ8Drk/KOyPdUWU/OI=; b=bCj7e53CVQ6DekUGUcI1pR4fn+p/1CSx+20qGBUozmAhYJoBbbe6QB7x2MsfcNsqen CcS7qUKoIsKb/7Vv6KkVVrzfe9JOFNsyBawPRE0k/csWxFpHy9ZaDAgoIxH8l9GC//YS mVKo71op1yBYrzi2wRIdaiM9dY5xyb/raVn7HLLqE4J7qV7/kRnuhd/iRvC5RL78/0CK 3xWDFtrI32Wyc0qIbgQkJYZ6mfSkhx5JL8/4B3GFgh6/GOEG4pGjtmVVzMRiwhIY0aEe HqBJT0wzPELBeuwAbIYACm2h/orccFHCwiDANZ87k0pQzy++0rNrejsmBD0cxxHaK0lw ztiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BY7DmgdS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id t14-20020a17090a4e4e00b002790e9120ccsi1583112pjl.61.2023.09.28.04.41.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:41:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BY7DmgdS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id F3F65832DA7F; Thu, 28 Sep 2023 04:08:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232290AbjI1LHb (ORCPT + 99 others); Thu, 28 Sep 2023 07:07:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232296AbjI1LFg (ORCPT ); Thu, 28 Sep 2023 07:05:36 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9709210EB; Thu, 28 Sep 2023 04:04:56 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1E0EC433BA; Thu, 28 Sep 2023 11:04:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899096; bh=KL3FQ3jpZEuK0Ewt0+ej83FFC76E2dh/iXYhCIu4n5w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BY7DmgdSg0T+ZpSlNxARM6JDMhM5D7IoMPX+GzyEbHOBEa/96E/62DMGJL3iRGmJ5 M2d9Z2nNlAmP1AkA5k51OjmsF2nBbJihcIvvO4xajT8QbDoKkJGGXE0ewKi4apiUDs qJSF0pQNNXsOaOnoAp5fR9EMEulPv5bDGtKDmHhMfyrVkWXR+PvGYTV4JmvSa5y2dj tTZL79V4eW614t4GX4jh2isrokRRWaY3bVEaO182EKuZP8feqMRKLapZn/FI7xtefV VYKFCrfCqQdZgB8mIrv3BOJ08hSNGaXLL2eu9TPaw9XGDxNKO0scPmF03/Fz1thbPk 2pIWXNAaJpEyg== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 37/87] fs/freevxfs: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:46 -0400 Message-ID: <20230928110413.33032-36-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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:08:20 -0700 (PDT) Signed-off-by: Jeff Layton --- fs/freevxfs/vxfs_inode.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c index ac5d43b164b5..20600e9ea202 100644 --- a/fs/freevxfs/vxfs_inode.c +++ b/fs/freevxfs/vxfs_inode.c @@ -109,11 +109,9 @@ static inline void dip2vip_cpy(struct vxfs_sb_info *sbi, set_nlink(inode, vip->vii_nlink); inode->i_size = vip->vii_size; - inode->i_atime.tv_sec = vip->vii_atime; + inode_set_atime(inode, vip->vii_atime, 0); inode_set_ctime(inode, vip->vii_ctime, 0); - inode->i_mtime.tv_sec = vip->vii_mtime; - inode->i_atime.tv_nsec = 0; - inode->i_mtime.tv_nsec = 0; + inode_set_mtime(inode, vip->vii_mtime, 0); inode->i_blocks = vip->vii_blocks; inode->i_generation = vip->vii_gen; -- 2.41.0