Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9516881rwd; Wed, 21 Jun 2023 08:22:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MJkJO/VnWkvylafQTmyIIsbgWsF3wWDtqNmcldLC0Nflw8wA7Hdp8k5wH5ClIiHccC/22 X-Received: by 2002:a05:6a20:914b:b0:117:7ad7:d9a1 with SMTP id x11-20020a056a20914b00b001177ad7d9a1mr29225411pzc.20.1687360947126; Wed, 21 Jun 2023 08:22:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687360947; cv=none; d=google.com; s=arc-20160816; b=Pdgbm6P832sofcCCxYRet7xuIRXwMHyim+aOVIDsyZLv39tvtl5V+b5QCLICeKdusj n4FBeTZLW6EuHJuOZRzo+NoeFmbkQrCr4cix4djsz9iohHHwxoHvNCbI7V6xCWpd34Ja n5t2bNjbVtD5yJLCGEFImrOCPdBMiokstNkp33er4aQzyDpZgm91cHboxll6AWngZShI dek97vOzVWCeCGCaG4lcTEk+btRnHJ59BllR165G68+36GPBsxnLpntQHnVOonyfdtXw y0IJHbsJER0a6YIL1InxvpEHr4p4DbkC5yQI20COMFWAPtCuK4xfUr0oM5kS4J0HdS8v DSKQ== 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=vgeBm5ZYAeDy1y789gb03JurUkH/yjL8hMHxtLFyIvg=; b=khhcRn+FeYGX2fiUy0wxxB8EC6/BvSu40B6wAgCyYpRkYiey0mnL9R8mxRCfFQsPpP NVhntOQm/MufOVcu88biHSQ0QDkoc8o3NKHspDQ0OGVRyf0cbjFfISAYlF+I0YUqzrE1 OWJMNuFiJjkXNcEhkKkeoS06MWyBpD6YVkm91AA+AotFPyUYEF1+JjnOqXblbuLcasJr QCXg2OE58o1LNnyCtqxjfEGMBGo8ZuFcEP5lA/OcSyprVP1EUXCP+OsOnKDhf8MxeoOq 5pXsGDvPyRtX/SRSIzG110LjDHUT1J8SeTeAhH764EEJgGH9BkGmAd6DeTlYb77LmsSB sxZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qZ54Gl50; 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 s15-20020a63924f000000b00553b02a9a17si4320312pgn.256.2023.06.21.08.22.15; Wed, 21 Jun 2023 08:22:27 -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=qZ54Gl50; 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 S231181AbjFUOuT (ORCPT + 99 others); Wed, 21 Jun 2023 10:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232165AbjFUOtN (ORCPT ); Wed, 21 Jun 2023 10:49:13 -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 2B20C2128 for ; Wed, 21 Jun 2023 07:48:11 -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 0A99C61536 for ; Wed, 21 Jun 2023 14:48:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C52E1C433C0; Wed, 21 Jun 2023 14:48:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687358890; bh=huZJIp/B9xWSD0X0dlYvUh0CjmXR4oUY7WvD+3absj0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qZ54Gl50DxIfN8Z7D1qc9Ee/OkA44CbpKhWtgQQxPz2nKb0w7aceIscGljczPSc87 tj8hCLEDgsUJftRjlFPHA+ir31Gr5ZeHd5bhJwPDDxNNYze+N63PTt/7UN/viTfgDC +7oQezge7lxn5VYH4H6HvxmERUt+StjYcpQo1KT9Vn1GTl9c05B9vD1RQOk9Vclx+y Sds7AIx2TIy0JIg60/6FjANCecOOmBKmhr7CGmgxSIrT6g09VE/5h9MyQIMsyB0x2t kSEDCpTyjygdg/Mqz8QpDdCtk3EVIs11lBtnyis7TFXQkjHUPC2gOu1qnF7RYDL2dg SAgpLvQ76Gz9Q== From: Jeff Layton To: Christian Brauner , Greg Kroah-Hartman , "Rafael J. Wysocki" Cc: Al Viro , Jan Kara , linux-kernel@vger.kernel.org Subject: [PATCH 21/79] debugfs: switch to new ctime accessors Date: Wed, 21 Jun 2023 10:45:34 -0400 Message-ID: <20230621144735.55953-20-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/debugfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 3f81f73c241a..d4932a128c7d 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -73,7 +73,7 @@ static struct inode *debugfs_get_inode(struct super_block *sb) if (inode) { inode->i_ino = get_next_ino(); inode->i_atime = inode->i_mtime = - inode->i_ctime = current_time(inode); + inode_ctime_set_current(inode); } return inode; } -- 2.41.0