Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3149831rdh; Thu, 28 Sep 2023 04:21:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHa8ZfkIf6WzNt603nhTqFFacz0h1M95jClL1tk9S2Y8OV+98yxivfWCk7dL4si8hN2Zpjf X-Received: by 2002:a17:902:c601:b0:1c6:d0a:cf01 with SMTP id r1-20020a170902c60100b001c60d0acf01mr1123112plr.11.1695900105691; Thu, 28 Sep 2023 04:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695900105; cv=none; d=google.com; s=arc-20160816; b=XJl2XRGYnLPkXzdJn8RS/SRZWhp+Dl9Od2/TYHa+VsF1cHcxImcpD1g34ROMXlmPHx 3B4AlcIR3HDo19RzCUHwkMmLOcI6p+jkURI9r9zsJTrBap0Kbj9JN9YzirHwmlqGBENm rbSm1eXSgS2/bHRsR1ikzSis2y0WiiW3o1aQNGPyMfHz9MqJKxDdg/MDC4STcVJy5A9a qv6t9GWIFIN/DKrcgfJNf944ZxVbrV2/hq3DFFemwrWoekuxqGiVPx9C0I3f40pi9prO MNBbD3+TPtQQlcLa8BmuHXz8KOQJlmN7KtczjTQCKv6STXUuuV36lcrXeIE4FK5pp7RP xZDg== 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=KOS8HisMkVyC/MJ8YAvZ1Tb1+50n29Ldgiq8V30s40Q=; fh=c1hve9LK7bidUltaxotdOOkNtWZ8Drk/KOyPdUWU/OI=; b=tDyxMhPp5oW3bngH9ijxU5yA+i/X/RmCgTbGNgbdE49ElgHPdSQDHUR0ZwuODVBUU0 ghaByac8evp0wUprbRRTl5rMPPJxhxRN56nzCR70frFv0btYX1ePbSiUWHL8r/iPJn1/ Gkd10lUrztIfyKcA9IGL7eKXtNvFhJD9xD+NgXkXp4jeXp2kbrYt6BRbVfGheTRCyk4y DL2AY0ZaJnGh8eHcoIMooF+JoVjkcfSQQkaX6bvnRtF+wc+IaoD8mT4GJ6Bg7Nmkf2Sf /QSR8Rvfcg8OZ4tqMGrICPKT/d43inT1gUObjUqOW9dfd6cWNLWFXVqARjyqwPTR1sbp w3rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b6A+2xaI; 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 t1-20020a170902e84100b001b8c824e826si3584389plg.533.2023.09.28.04.21.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:21:45 -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=b6A+2xaI; 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 2AD1A82F08D2; Thu, 28 Sep 2023 04:05:11 -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 S232185AbjI1LEx (ORCPT + 99 others); Thu, 28 Sep 2023 07:04:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232013AbjI1LEU (ORCPT ); Thu, 28 Sep 2023 07:04:20 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15D9ACEA; Thu, 28 Sep 2023 04:04:19 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42E05C43391; Thu, 28 Sep 2023 11:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899058; bh=IWRS0sv4F2GhgvX85r1nFL1OfwOp4/XyjcH6Y3xdgTE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=b6A+2xaI6pgQN+3dsy2mCOD9PDx411S3Ydu90LNqns7K3ssWCUiNw8xy4j4adpra8 qSn0vb75mY/qesopcA++AtWow4hoAv7r4LdYDurC7my3O18PkR0dtESNg4bTHET0Q4 3Ahy6fdOdNesktoORpFHDvBl9hkL0DV1HfvCyFNArLgZNSbZBo5ySrlzwIAQbW8Q6O czYwD0UdpJlXyTr9j9AArkgt49zV/RBrtWDJSXGVoxKT0YduDTN9hm+fHLsube0FTH n7WYM8LxzBpT4EcUrzycR4IccopqT4Y70wKaa4bJg9KZ9cxI/TFpE0Hz0HAv5Aaczg L68gy8O03b8/Q== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/87] drivers/android: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:14 -0400 Message-ID: <20230928110413.33032-4-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:11 -0700 (PDT) Signed-off-by: Jeff Layton --- drivers/android/binderfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/android/binderfs.c b/drivers/android/binderfs.c index 81effec17b3d..420dc9cbf774 100644 --- a/drivers/android/binderfs.c +++ b/drivers/android/binderfs.c @@ -152,7 +152,7 @@ static int binderfs_binder_device_create(struct inode *ref_inode, goto err; inode->i_ino = minor + INODE_OFFSET; - inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); init_special_inode(inode, S_IFCHR | 0600, MKDEV(MAJOR(binderfs_dev), minor)); inode->i_fop = &binder_fops; @@ -431,7 +431,7 @@ static int binderfs_binder_ctl_create(struct super_block *sb) } inode->i_ino = SECOND_INODE; - inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); init_special_inode(inode, S_IFCHR | 0600, MKDEV(MAJOR(binderfs_dev), minor)); inode->i_fop = &binder_ctl_fops; @@ -473,7 +473,7 @@ static struct inode *binderfs_make_inode(struct super_block *sb, int mode) if (ret) { ret->i_ino = iunique(sb, BINDERFS_MAX_MINOR + INODE_OFFSET); ret->i_mode = mode; - ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret); + simple_inode_init_ts(ret); } return ret; } @@ -702,7 +702,7 @@ static int binderfs_fill_super(struct super_block *sb, struct fs_context *fc) inode->i_ino = FIRST_INODE; inode->i_fop = &simple_dir_operations; inode->i_mode = S_IFDIR | 0755; - inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); inode->i_op = &binderfs_dir_inode_operations; set_nlink(inode, 2); -- 2.41.0