Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3149279rdh; Thu, 28 Sep 2023 04:20:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0jvupt8E0+nOg4n0UzHRexB6IvbCUky6CfwLj7f3zZfA4FX3fa+O7KoEQ3QkP5HsYaJKr X-Received: by 2002:a17:903:2348:b0:1c4:1b27:1cd6 with SMTP id c8-20020a170903234800b001c41b271cd6mr997745plh.26.1695900036657; Thu, 28 Sep 2023 04:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695900036; cv=none; d=google.com; s=arc-20160816; b=M1l9hOQjd2kUoC/W5N1yK4HCV53q8mxZlvHtbxDgnrHBGTLEafQz/FQvN4D9g+mBsQ eBY2cGMIzDqptmXpvnK2rh/8ygSsTj9pjP5jub3Vso5ymunT1Q7jhFJn1Q7kpfqhPu7+ hFIl23+0BrjBZGQe89zQLNUZ7QDhz3GGGIRwk6NtQx8AAdY7YWPZNKdhDdYjekAHAcys NGaXbLc3RkmwNLOfbSzOpNkEDG0Fwy0n90xzMgPob1JgBvdXcOPV0W5Lxf9Fb3njMW+e giWyV/oU5nvX1oDAdvROy0MPbGQ5E12pyycKiHsY811tNylNHIrQUM8ex5v/Q5R23nxe AwQA== 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=6ZPAC+VAbYVNFMTmat0p93btjpTfItsOkpiIbkvBz1w=; fh=c1hve9LK7bidUltaxotdOOkNtWZ8Drk/KOyPdUWU/OI=; b=OMJirFadWhiQ9oACQjRTcfSYp4QLgjNqHGiQj/v5p0sfF365tCZOAqEg6WpNzTF96S pCrR62FTWcO1FAbZi35WBYB8ehF6F93COIt3uzD/jdiX7H8wJghVlMA6tswZ5FYjPn5n WFxaAm71lW5esFx4JLb/bSQX372vflTAEtCghspb8wjTdV2tdXBOUW1bl9VbMF3d2BUR j2zyFppTzNbAhbUe9q7DNxaamKSeHFn7IeOWRepFomx2Of+IAI7VAiu0Rybh32r092GE c+M/BEUDj9PPEch9PHqeMQVvrQxfvlb6Sy5DBFHHutaf61CaQkzVwDaZbO/YPKIOmx/R VYVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L6g7E9W5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u10-20020a170902714a00b001bb8a57d518si17223913plm.379.2023.09.28.04.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:20:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L6g7E9W5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 3AA9F858E935; Thu, 28 Sep 2023 04:10:02 -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 S232210AbjI1LJn (ORCPT + 99 others); Thu, 28 Sep 2023 07:09:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232395AbjI1LI5 (ORCPT ); Thu, 28 Sep 2023 07:08:57 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE39010D1; Thu, 28 Sep 2023 04:05:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B18DC433C9; Thu, 28 Sep 2023 11:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899127; bh=MT2Y7jp9+cvD5+2+GZOJovkkdQ1vUxTXJ+WNXDpkssE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=L6g7E9W5Wtf3sqq8MD4rNpai/DU4TGsfv+ZA0Gnic6dFv6AsgeU0n4XkxkjeH4yBx iXQbtQZSTDM7LxQsx3YZU+cxnfUBsGvNM6fSlGuv6iQwgYXTfuhIsQLG0wB9xoPd0F XaaS1vW5Ux35ohpisjM6NfsG4JgccyU/+l0N6zkcpyNCq4GxAwGw/+4VYpDuAysp1m hNiKCosd8okbWpAbYqYvlSOlInyKwX20WmgGwo6kGQ+X6CfskjSSEFnWob+kAxa7/B raouoilCgoUcyACGOf8gxxiqJA7oaCTnoYfPyN5cFIiovjQofdSLcfe2m90iBCloqx hpqkpFIy8ogwQ== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 62/87] fs/qnx4: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:03:11 -0400 Message-ID: <20230928110413.33032-61-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 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:10:02 -0700 (PDT) Signed-off-by: Jeff Layton --- fs/qnx4/inode.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c index a7171f5532a1..6eb9bb369b57 100644 --- a/fs/qnx4/inode.c +++ b/fs/qnx4/inode.c @@ -301,10 +301,8 @@ struct inode *qnx4_iget(struct super_block *sb, unsigned long ino) i_gid_write(inode, (gid_t)le16_to_cpu(raw_inode->di_gid)); set_nlink(inode, le16_to_cpu(raw_inode->di_nlink)); inode->i_size = le32_to_cpu(raw_inode->di_size); - inode->i_mtime.tv_sec = le32_to_cpu(raw_inode->di_mtime); - inode->i_mtime.tv_nsec = 0; - inode->i_atime.tv_sec = le32_to_cpu(raw_inode->di_atime); - inode->i_atime.tv_nsec = 0; + inode_set_mtime(inode, le32_to_cpu(raw_inode->di_mtime), 0); + inode_set_atime(inode, le32_to_cpu(raw_inode->di_atime), 0); inode_set_ctime(inode, le32_to_cpu(raw_inode->di_ctime), 0); inode->i_blocks = le32_to_cpu(raw_inode->di_first_xtnt.xtnt_size); -- 2.41.0