Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3149857rdh; Thu, 28 Sep 2023 04:21:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGQRkTrcS4mJTjgjzy2CXVQztoVHUJyJEo6ImZLIcraAHB8O3YOrENKkUAuOBgKpD/Q96PL X-Received: by 2002:a05:6a20:7b28:b0:15e:bf2b:e6d3 with SMTP id s40-20020a056a207b2800b0015ebf2be6d3mr648067pzh.46.1695900108868; Thu, 28 Sep 2023 04:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695900108; cv=none; d=google.com; s=arc-20160816; b=B6pwCPkFlwhN4Ip45ghqfgUWDtqaQOvA/P9fK0P1xpiM6JZZuIVIm2KFfXS9y3O5Zn fTz3maipFZo9ErPERkEIu1AEMfFllMa4CXB6MPGxfSyaz+Tp2QRvfHmf71iDUeO6udrv h5wTG/Q9gxZtqoOKi5TQH8iJDg5/biuHryQCRjnkIZfeI/uyFJ0WZ0OjvT2R2w5FFFq+ lS0GZMtkWZC4lQ+cnRQk1BCAr7P93n3LLt650m1AIX6snTh0hEC+n/nVVfGktfbwA+3F DlByhjhpvhWVgj12YF03tRoGjYKbqVVgzEiA6pxlxaGnQOXGBKugg25vfaT5S7WwDvYY dSjA== 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=Ll1eIvfe9vIBpsZXRnTomIYoOtFDQvM6pvANT4USItY=; fh=4hjXy+Ew9zLbKbPcMTIRIHhS9JFJb7yUsoehK99e63k=; b=P0u8kiLrfafC1NPiWuH3Wtc7lFLq71+srn8YSy1lFS5fWQVi7ovGuO0qWjUrmRyI4E EkbzoS3iSuz7GIyZShWq6YM25H4s1KvYNZmzcxR753pORHoiUPu88/TpDZuRKzOhvAsR +0BCQ3ajq0wi9d4wNXV+szh74Ajr45xRjvoGi80p32ShlQhn+Mcs9zJJogBlcslZ0Osm 3nwiGVfLdnHkUdvap0RhCPrKCtbmv+oiStsp+5ispMWSHmOY04PyiXoBOvTVrcSNBVSJ wILYILQaO9oBBhJ8cFc9uCZ/gRC5JkZC/ZoolX2lM+/RkgN6xMgjnQ53FgjwW6USfd2B dIQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qi1QD7te; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id kl8-20020a170903074800b001bc74f6a951si17313728plb.250.2023.09.28.04.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:21:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qi1QD7te; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 87D3182F08D7; Thu, 28 Sep 2023 04:05:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232202AbjI1LE7 (ORCPT + 99 others); Thu, 28 Sep 2023 07:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232024AbjI1LEb (ORCPT ); Thu, 28 Sep 2023 07:04:31 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4772FCF0; Thu, 28 Sep 2023 04:04:21 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59EAEC433C8; Thu, 28 Sep 2023 11:04:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899060; bh=p3gaIy18L6Ez/8RFoleMZQ9oJz9uAXoW5EHVT1EV0+w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qi1QD7te6ipGJErObR0mgV/ZUuN6Cezsxu4FFi0wzpOdAfpIsp0V8wZOO3vofB1Mp X7umPRbV/U8IF4TMDv0T/8AX/QF2lEmTBdnYMDDSPyWYu7QU2RAj/ND+6Qmt/mW18T lZpB2p2ZUf7SJcjuPGQRzrgnz3j5O9SJfSSJsDnk3cqpcinLDThSLgxJV+HMjdlbvD EQ89HSB22rugBcz3xhb9XJOUG/hx9j9pxKbCcE0Ve80ZTZCjCad8EY42AD4IXQxDCs fCj4BWMRB/6tOO7/UhvtMziJdLTTX9UVLKBtFb6RHW13MYBw4NqvGqNs3bXuUSXLKE Y0ESkwlGhr1aQ== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-rdma@vger.kernel.org Subject: [PATCH 07/87] drivers/infiniband/hw/qib: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:16 -0400 Message-ID: <20230928110413.33032-6-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=-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 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:05:14 -0700 (PDT) Signed-off-by: Jeff Layton --- drivers/infiniband/hw/qib/qib_fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/qib/qib_fs.c b/drivers/infiniband/hw/qib/qib_fs.c index ed7d4b02f45a..455e966eeff3 100644 --- a/drivers/infiniband/hw/qib/qib_fs.c +++ b/drivers/infiniband/hw/qib/qib_fs.c @@ -64,8 +64,8 @@ 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 = inode_set_ctime_current(inode); - inode->i_mtime = inode->i_atime; + simple_inode_init_ts(inode); + inode->i_private = data; if (S_ISDIR(mode)) { inode->i_op = &simple_dir_inode_operations; -- 2.41.0