Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9849298rwd; Wed, 21 Jun 2023 12:41:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6CGT2idHqLbr6Ltjejg0YssR9fnm4vFRlyd31wCtKM7g5cArwhQJeORfuu7YBiNbzVhQn4 X-Received: by 2002:a05:6a20:4404:b0:121:a674:471 with SMTP id ce4-20020a056a20440400b00121a6740471mr12942408pzb.30.1687376511684; Wed, 21 Jun 2023 12:41:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687376511; cv=pass; d=google.com; s=arc-20160816; b=zHDScrEQrGKUiseDVJ0ESWb7INzQnfiAVAI/53E8vRmQhQ/zYVzef2jE4s+ciJznbw GUGna43j8N8w85eKya5ZNVtlQEZ2UqbcgnVwMkMnzgnowlPc4g4mtKTH2j6sZgFYQekh 0RyO9LFl0iPeOYaDXEELmSmvJdvtxZaQWaMzOt+keKjiVKdQaXxvAwD6cNxPqrLdKlrC ZmH8Je7Vz81GSj1kKY0H5BO+1nnMf++nAC0feeDgiTplui0bC2JJD98FXBY9s1Zm3aCR 4hGS00G8B+YHZ5KkZpduDD2LABe75+JHwNUPLU3WnHzFGUBKrRK+/TE2ue9s1XcR9fVn anLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=tv7KCvjy8yxVoEF+arXRQUxHlARgS9e5ZnQhOk04KKk=; b=udENA1I+NW6UsuqaJUn/W/9kxRj5PjuHCKFrK0P+7eGcHINDeSAIYJmdd3OdLtfVwI +sLMMctCvuSTAt4Nps+RxppzIEtm1b9AtJdxrNVURi2jHawqlmCh4I7G6R3OAH0kgCTZ Z5xN2LNUVkSBH6xRGyULnh3HYAKE5qgsAf5N5CWzyvUBQYygzxsk6Y9aUN2Tftarmyks PL8F6HeHkqqXXoplrJxVEycJMbvrECVmU+dkTJhIcfW6QMb5ag533xsK6IffHN74uhr7 LduSQAOP37N739Gko0ZsIsvNOsk4FhlezJm0940aMezfkBegFq7u36jkSXJ4jx81IYx/ lLiA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cornelisnetworks.com header.s=selector1 header.b=H6SmVNI0; arc=pass (i=1 spf=pass spfdomain=cornelisnetworks.com dkim=pass dkdomain=cornelisnetworks.com dmarc=pass fromdomain=cornelisnetworks.com); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b00553b9b18884si4854159pgq.585.2023.06.21.12.41.39; Wed, 21 Jun 2023 12:41:51 -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=@cornelisnetworks.com header.s=selector1 header.b=H6SmVNI0; arc=pass (i=1 spf=pass spfdomain=cornelisnetworks.com dkim=pass dkdomain=cornelisnetworks.com dmarc=pass fromdomain=cornelisnetworks.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231197AbjFUTh1 (ORCPT + 99 others); Wed, 21 Jun 2023 15:37:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjFUThV (ORCPT ); Wed, 21 Jun 2023 15:37:21 -0400 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2114.outbound.protection.outlook.com [40.107.96.114]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80871171C; Wed, 21 Jun 2023 12:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ECEHgkg63KvEdaYchBpTSNjwkR1/Rf/xd8O7t9S8Sz3HHPN050nFposUwCNEW09yeHtgMFGrMY0Tz+ePuNa6Osyfc7DQQ0sGMwej8CuXmKpRkVSqh3JsW2FoMxZiO9ZzORanOrr5BJXlXl7KUa5evWoAZLVQB+zCOvIFBTqZjhdAdVPtx1a8xx4Ohbj7MYHCkTwaUFaB5FyFeFoNrLnDdNLZ9VL2c/MNHBswVaIfzTLvW4IJn4w68snV8y26rDST0L8Km6R0U3cBLPXLEsUfwSZseJNTYWmZwk9PK35k999hP3U6S0Dvh3gzDFtSPS8c5s3fQpZjxlXD1bRMQzRlRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tv7KCvjy8yxVoEF+arXRQUxHlARgS9e5ZnQhOk04KKk=; b=UWd2aVoa+oi121QMQzTyn1fH0crNYJ7jET9VMzekf99mPSEqbnocUR1y70oOIisT4GQzZdTp5sSVMqNJL9eRpBG8A3hX963i5EpvaIbCvx00HrO5lrQNcEFdHWObv3cgOGVOHuSP02PyMWBGy5WKh45KX7jrnmzlDClLJ0F/4oyVizAXH5naQG78MoeseLZY8vIHcEVUTge2fGinFVOUk7XWRCJdJxx7+cvCFrsg6UsaeS9j5SoWRrzOaxqvAL7aQ8tjJlEQIcdDUZ4SYZl3Q5/UdDCQjLcL/6s+nsqox7kre2NwUYtPDtGjnVq1nO8d3wdKHmWA0mEQdA0+ZLj5xQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornelisnetworks.com; dmarc=pass action=none header.from=cornelisnetworks.com; dkim=pass header.d=cornelisnetworks.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornelisnetworks.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tv7KCvjy8yxVoEF+arXRQUxHlARgS9e5ZnQhOk04KKk=; b=H6SmVNI0iLHKmQYA8Eo2RePGFgjhHDDc0dlJLrcZHgB6yD7lm2dGkTRnU1/BQCtiq/DuwakWUOE8SA3xsq5uvOLXmtJP63TItgh1dpx7zvG5COwqEaKVrnU//c8KS9dNQ66JdoMuLEpU3SccE21zZVpCaAS+tE1b6/IxXmWaBQVMTW9YF2185cxcUprMIv8rZjbw7+AtbQcQ8pjBkDphneCUOexwvBfJzWd6Bv3N4Br6St/gbEg5VFmZUlgPTBSoG5SU/T3OjC7PV1tCkPnh00h2jWR0d6QyJr4UoZAWZE84cH01gfvEvaTLOMWiP1f7uHayuInbD6oO1+kZ2FomvQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cornelisnetworks.com; Received: from BL0PR01MB4099.prod.exchangelabs.com (2603:10b6:208:42::12) by SA1PR01MB6687.prod.exchangelabs.com (2603:10b6:806:1a6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.37; Wed, 21 Jun 2023 19:37:10 +0000 Received: from BL0PR01MB4099.prod.exchangelabs.com ([fe80::938b:a632:32e8:95cb]) by BL0PR01MB4099.prod.exchangelabs.com ([fe80::938b:a632:32e8:95cb%6]) with mapi id 15.20.6500.036; Wed, 21 Jun 2023 19:37:10 +0000 Message-ID: <21ba5d93-2717-3b8f-848a-a001cd911695@cornelisnetworks.com> Date: Wed, 21 Jun 2023 15:37:07 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 05/79] qib_fs: switch to new ctime accessors Content-Language: en-US To: Jeff Layton , Christian Brauner , Jason Gunthorpe , Leon Romanovsky Cc: Al Viro , Jan Kara , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-1-jlayton@kernel.org> <20230621144735.55953-4-jlayton@kernel.org> From: Dennis Dalessandro In-Reply-To: <20230621144735.55953-4-jlayton@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL1PR13CA0095.namprd13.prod.outlook.com (2603:10b6:208:2b9::10) To BL0PR01MB4099.prod.exchangelabs.com (2603:10b6:208:42::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL0PR01MB4099:EE_|SA1PR01MB6687:EE_ X-MS-Office365-Filtering-Correlation-Id: c198dbae-9ea4-46cd-e380-08db728ee786 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nHEHclT1gaeLAhKBVpztpHgXvrMkLBJCR+PXv7FWHMmuWLFI6pvwWJF3jyuZiAAbBK/MeSnNN+nBfE6gKY/eRFykN/D2l4UqqXkXK42b1yHiqjH0v69zkUhGwhBUZjVpZrfXCa7uUpLzeOsuudlr1K/mhmsljh6+DlXKHZbn1A+s6RNEpFr/JCrpeTMR4RrvQn06qC15qIhTTTnX22HvhSXjx9J1Xx9JswAPIM1+U9wYHtZ177fATE+0fSA7B/mNf+UKVsaWRuDV8aIia+NG294HgCJ7Mw1N3ip+4oSxuI1qw0EHizrmr49dkv4EWxI8opswcUMuNg7kBPEV/Ls9OyJV80VhUS6hA1S7XbqoD9Vn8QIl7Ms0SHzk1MG19dtF01aQ6oh6OzStH5dPLJxy1fNwA23+v4tHif7+1YqVEsWPNxomsf/WGOvHWKCAILidk7djbFm/hyEYRJAX0jmevEEIw8+CcJnyubDCGlrmVP+lvWYedEQQLS96KZOWw+mnCbrMfEe+p0bey5zIsUNIo3tNn6Ltx9TnHWmOKwjx7LWUxR5LaytySonZMv+vvE6Lkxozqri02Xf5q27C9fh3TNitCoK0ifYJ4g+n4iNbBXjcV9WglgqeFMqtpjaDu1axKFTdiTzoxF8KFEet6yqquw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR01MB4099.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(376002)(39840400004)(396003)(136003)(346002)(451199021)(110136005)(478600001)(4326008)(54906003)(26005)(6506007)(6512007)(53546011)(6486002)(186003)(6666004)(52116002)(36756003)(2906002)(8936002)(8676002)(66946007)(41300700001)(66476007)(66556008)(316002)(5660300002)(31696002)(44832011)(38350700002)(83380400001)(31686004)(38100700002)(86362001)(2616005)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z0lMVWxyTXQ5Q2hkdGpPcVNqSXY4dGZSMDJOamNENnpmcjNpdjVaTDdjM2g5?= =?utf-8?B?K0huL3BwdE1RckNleGM2aE9XYVN6MXcrakVuL00rZVVhM3V2WCtXZzlzUWN0?= =?utf-8?B?dUxxRTFaT0V0NGxOREVONVlGRTUvNzMwRVp4ZUpOQVNtYXowbUtXT0VFbzdG?= =?utf-8?B?elhEMHFOTURvVng3VDVWYmZOVDVCRWloNnFEUmNWSmZQT3d6WUhYTUdiMWo5?= =?utf-8?B?NTl3Z3VaTjFzSytVak1oVC9pN2VhWlFtS2JVOHVEZjduczRydURrZ3dkdDIz?= =?utf-8?B?Y2I2NG55UnlLZkhKM0ZwNVhBT2VXVnZZSnhYSnFXWVc1OVdjRjQ3d3Ixd3lI?= =?utf-8?B?UmNiRXlZUTJTMGhTRThWU1RoRlg5WW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7sgwz5cU4iuEBEFVhBEUU=3D?= X-OriginatorOrg: cornelisnetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: c198dbae-9ea4-46cd-e380-08db728ee786 X-MS-Exchange-CrossTenant-AuthSource: BL0PR01MB4099.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2023 19:37:09.9681 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4dbdb7da-74ee-4b45-8747-ef5ce5ebe68a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LvvZkIRXz8WwndN4g5/oRRa1jERiMDc222+QMOZqh3koEiEZxwy2o1P0/kFEB8COvhGT9uOch7zVC9Pom6/QqGUEuHMuRZjbvgi00K4u3B1PykJYdJsdDjU9mnWk7u3w X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR01MB6687 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On 6/21/23 10:45 AM, Jeff Layton wrote: > 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 > --- > drivers/infiniband/hw/qib/qib_fs.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/infiniband/hw/qib/qib_fs.c b/drivers/infiniband/hw/qib/qib_fs.c > index a973905afd13..db008f2884e4 100644 > --- a/drivers/infiniband/hw/qib/qib_fs.c > +++ b/drivers/infiniband/hw/qib/qib_fs.c > @@ -64,9 +64,7 @@ static int qibfs_mknod(struct inode *dir, struct dentry *dentry, > inode->i_uid = GLOBAL_ROOT_UID; > inode->i_gid = GLOBAL_ROOT_GID; > inode->i_blocks = 0; > - inode->i_atime = current_time(inode); > - inode->i_mtime = inode->i_atime; > - inode->i_ctime = inode->i_atime; > + inode->i_atime = inode->i_mtime = inode_ctime_set_current(inode); > inode->i_private = data; > if (S_ISDIR(mode)) { > inode->i_op = &simple_dir_inode_operations; Acked-by: Dennis Dalessandro