Message ID | 20231004185347.80880-4-jlayton@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:254a:b0:403:3b70:6f57 with SMTP id hf10csp340855vqb; Wed, 4 Oct 2023 11:58:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjT/kyIp0++PpGm9bEheZ5in5KPAS9SMtBA5iiX773ev9t8zdLwCeUP7ntUZw/Q3fY3az7 X-Received: by 2002:a17:90a:cc01:b0:279:47d:318a with SMTP id b1-20020a17090acc0100b00279047d318amr2942661pju.29.1696445891464; Wed, 04 Oct 2023 11:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696445891; cv=none; d=google.com; s=arc-20160816; b=ylIFYuevGoxTBxEF1e3J4Nr/uFVjrH7EFkhW+oodr2inp5svdM1L1aHNIwT4cx/1ht oli4NzQLcaqZ8l4hVnO2m/toYRNRhOSLeelbQb8ssjOhZ8p9j/XO1xvmg44RXUYdaniL 1ZJ7AW4rjLn0P/dYAsCb/orDNg5kL+0wR/2Vm8M5h0Qa816TvcA3e1eazQWD6xLszeXZ LMdE/Ywqvfhw9gb7lDzJTO5WecQngwhqBIj7fyO5mxbZAD4bj+HCBJ8RyfQ21/ROrrs7 hBoAjSjdlwGpUokBvsG7T5ji2xeVX+enSMrZA/BCteXH2r7V497dTLDz+8PN4NpvIGKl h40Q== 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=XN5nPd+IBIVst8C1o4nxh1GfDTIkPDNBgikYyk5PiTk=; fh=+8yfMUekUhCQzg47WX0vwKLpcMT8BNCzX6xaRcIjE9o=; b=GWbHSwnyyTaDAKL1umzQ/cv+I3fJkoxeb+oe9ADdC/IEjbqIjXhA6YJ42DsMJkOUgp HaPu69j9qHCwS+z3QFZqX0O2fd8/jHZvMSGiE0Dfpeh7D4bEzgnt/oZ+aCBrLUypnm7A mjShLwx1wOh9CX/HPHDEqPNvFOQunubcX+chpleUCBE4jIDodkWSrCCpF2wwMOZcr3Cy ZLtHChZ9Qatomf4Sn42AMDrr+fCi/AVoLXIwP7Wdz3acHlklEcmodAjqTKtX6oPPDFue 3v/wTIB/xQMGiuoIma4HLXIMkTbo7zWQLfD4RsvelO8zgBguuEjrMxiVDG3LvkQcrTpb Qmqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dWftD498; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id y13-20020a17090a1f4d00b002791baa4729si1995779pjy.57.2023.10.04.11.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:58:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dWftD498; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 0861683F02B1; Wed, 4 Oct 2023 11:57:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245031AbjJDSz7 (ORCPT <rfc822;ezelljr.billy@gmail.com> + 19 others); Wed, 4 Oct 2023 14:55:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244720AbjJDSyb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Oct 2023 14:54:31 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3278C19BA; Wed, 4 Oct 2023 11:53:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFD2AC433CA; Wed, 4 Oct 2023 18:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696445633; bh=ypj7rmODurA3z/UzEOTAbR4NZeN+HrhD93EAgqGeHr8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dWftD498o2QH9qj3mfNM61PvQPNOOCFsL6yLDsryUp3K8244fiVHlVbOF/xkvFm9g b9uWjpnYCNxtS3X5PjqDGFnyintMnbA89RUvnMe7/l8hgNxa6lrDc9nijkGxLEEwv0 +dBp0TdN2kt9evt6TrV+4tJyhBr0AvQbWdkREVCxZCLI0zkTxQKbOQoZeivSDjsLBa ljJK5bJCciHhvU4U+1JvRqlfCBZmWflhbPHvxXY0NploZBhHVC21mSCcPhKguuPdsB zmU4gyTR1Xk6U8h7kS6vq+DFfieAQtr8xJBx6+UySBTOtqT2z4nss7PFeQk2uS0Avl o6YHz/j62ybdA== From: Jeff Layton <jlayton@kernel.org> To: Alexander Viro <viro@zeniv.linux.org.uk>, Christian Brauner <brauner@kernel.org>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: platform-driver-x86@vger.kernel.org Subject: [PATCH v2 06/89] char: convert to new timestamp accessors Date: Wed, 4 Oct 2023 14:51:51 -0400 Message-ID: <20231004185347.80880-4-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231004185347.80880-1-jlayton@kernel.org> References: <20231004185221.80802-1-jlayton@kernel.org> <20231004185347.80880-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 11:57:00 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778852446926868735 X-GMAIL-MSGID: 1778852446926868735 |
Series |
fs: new accessor methods for inode atime and mtime
|
|
Commit Message
Jeff Layton
Oct. 4, 2023, 6:51 p.m. UTC
Convert to using the new inode timestamp accessor functions.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
drivers/char/sonypi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 9211531689b2..22d249333f53 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c @@ -920,7 +920,7 @@ static ssize_t sonypi_misc_read(struct file *file, char __user *buf, if (ret > 0) { struct inode *inode = file_inode(file); - inode->i_atime = current_time(inode); + inode_set_atime_to_ts(inode, current_time(inode)); } return ret;