Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9589816rwd; Wed, 21 Jun 2023 09:12:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6m/sioh5aez6uPWaEheswBPg2cIyxRCk8EaR0ggkL4b2/L6VTVo9Hj7CrACpSwN6YxhHgM X-Received: by 2002:a05:6a21:1510:b0:114:f112:d8f0 with SMTP id nq16-20020a056a21151000b00114f112d8f0mr13256703pzb.35.1687363950808; Wed, 21 Jun 2023 09:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687363950; cv=none; d=google.com; s=arc-20160816; b=nNT1OGYYEF8cQ2vpQMeb/3IY5fE1lPFoWGYaEvmFsoaSAqVnAha83Zmv8qoJDBpsj8 S2KazZpAH7PYhjmtgblDPuG7p+NCOh0Hh7ASbRdCJx5KmHriKGFGYVP+TyT4ffTJjIke lFC/OfZgWvCMgVbtvZqEI9Ud9eY7ayDtuWkIdpzqgynPt1MilROVMJN03ACrieqVLYtp 0F1xEQfrhTuqtjR+8Wr6Qk401SUnxQ+ByORi9qSyeI0vzY2eryoJCWWeUXqpzU/dM+Tb OEcIsbDdi3dhAxs/W75Kb1f9WPeagoBOjKF7hHo7SNoFANaX4cD0msVLp8IdJbKhI1gK grDA== 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=BFTo+rUxUDE0zK/8Q+tDed3oPAS2BQmiJljczLSRXxY=; b=TxUgb8MJ6yieZfStSj6yThxzAsOi19gFCK57cGOmoRs889iyVM57LZ5O/4RNacYiGk uxkzrn4IpH+idWEHXmDwOGTFvBlrL6ytivqtHol1J6UtMyzr5eLSLzMDUdkkHRd7qmUi A+jFGo1ZpKLbXuwgzDZxcZaa5/pt8forWsCZzg9sQc0rQWhkj9MvyNYrcydBu8iUiNNB ib57TwsB28n2H7pHit1O0Q0IjSz+/9CXlyLy0Qx6u4aCSn1fUXexUS+l/j64f1LOmGl2 Bwgt0hizQI8gQsnhG3AevDFqTziLQnMQguOAobq6D2zZqWYUrJRVDcR1I7WafwolJo/v EL2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="q118R/CD"; 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 17-20020a630011000000b0053fc68bc1afsi4182437pga.619.2023.06.21.09.12.19; Wed, 21 Jun 2023 09:12: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="q118R/CD"; 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 S233027AbjFUOyJ (ORCPT + 99 others); Wed, 21 Jun 2023 10:54:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232616AbjFUOxJ (ORCPT ); Wed, 21 Jun 2023 10:53:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 712811FFD; Wed, 21 Jun 2023 07:49: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 225B8615A1; Wed, 21 Jun 2023 14:49:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E31FEC433C0; Wed, 21 Jun 2023 14:49:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687358975; bh=E/Jd9jiPwA48oKoLtHMJRqaHIzPdYPGdOmDdE++Vw8g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q118R/CDXJw4LjNWDJjOrkJnSqXZ3ePdF6AixmhQ+bB1hUGtfnT5XYT7popYsEg7b mDoPxY/jKYIPDA58H7qZP0p6oj6KoslICfyfoHpKhk0NXhMWpEAAKuLFJqy6FZbrl2 wyvD7nRU1cvZY/5CfHRjD9wrskAXtWtIJA8HWbCKcA5WU/2FbGQcQhudtvCe3YLyJ8 6dM3kRVscRPjPvMPuwtFynX+4DOmjULhZEfBM4alSLCZxa7oHn20xZNkzYOy/TFmaT 5dIVRHltMPv5YsmDXPkfqzTQGPz0qDdmP8MyiVHeCajCGUy5/IBDhPio83k+9A3jwe Zar9kgCjROxHQ== From: Jeff Layton To: Christian Brauner , Hans de Goede Cc: Al Viro , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 69/79] vboxsf: switch to new ctime accessors Date: Wed, 21 Jun 2023 10:46:22 -0400 Message-ID: <20230621144735.55953-68-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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 --- fs/vboxsf/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/vboxsf/utils.c b/fs/vboxsf/utils.c index dd0ae1188e87..a76dc1ec10f8 100644 --- a/fs/vboxsf/utils.c +++ b/fs/vboxsf/utils.c @@ -128,8 +128,8 @@ int vboxsf_init_inode(struct vboxsf_sbi *sbi, struct inode *inode, inode->i_atime = ns_to_timespec64( info->access_time.ns_relative_to_unix_epoch); - inode->i_ctime = ns_to_timespec64( - info->change_time.ns_relative_to_unix_epoch); + inode_ctime_set(inode, + ns_to_timespec64(info->change_time.ns_relative_to_unix_epoch)); inode->i_mtime = ns_to_timespec64( info->modification_time.ns_relative_to_unix_epoch); return 0; -- 2.41.0