Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3404161rdh; Thu, 28 Sep 2023 10:32:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZTqennk5yjTxa9c+rc6wrVhOYB0Y1TkLDPdDQZUbHwxHitfyoQozTQMgc9fIlDMfqBTtY X-Received: by 2002:a05:6a00:999:b0:68e:351b:15b8 with SMTP id u25-20020a056a00099900b0068e351b15b8mr1865339pfg.12.1695922350791; Thu, 28 Sep 2023 10:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695922350; cv=none; d=google.com; s=arc-20160816; b=XYwQ+esf5CvA79Vbk/MgYnD87jCJQt482mkPcNkgyTv87/AO3Njf94gnfXulSeGel3 kE1axQurx++8yU3551IwqZaDw5cWPiiDvo5L6tPCbpcFm1rMG0GprWirIyy8AtcjyjUG b6N2w0RY2siBzLgZ4InO6o9ExdoLgn2C6g+y7EuH0l4YZwilb/qnZkjDxhZvCPKwDGZK XFavAYqYdbbKk8V8v5i/9/3z1TrquJa9fGCZ4rkswCw9D2mAUt9yfec+4Ev/C4mLdWnO N7XfRghhbJ+fZyUrPRMM9aGK0I3VBVujTColWzCyyKloDd/4wOv39eDs7sZ2DnwO4LVl 64xA== 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=7wmGsnWi3L6eimoKMMVKN4B7zijNh0V4YtFFMUwRxGg=; fh=oZVYR2CCmErepEUDCv3QIXVIrSY1lW0FQTUQRnFGR9A=; b=cef5XTo6HnJ2w7Pfohh5TEJ2VQ94IJJ5mRgc7a/H27bfX/DgVdMaPzMVJQDZprATXZ yCYHlFSpkzecIkr4NCieDdgjt6MOI2UCDABQ+xLMGXzVb8Xi3waAkk7dxYhJINUyeJbi FRPTP8p9+8Hxwe4HnDzkjHiJ2NCYkB5kVB95nvHHViTnZL1pqAIQ3Z6L35ksDbL8WnHI OVSeGAnOIempR6uGcBLYv12dQlMCl+Hh/9xFomO4iqWF4qDgDX9IHKyK7LTgUDjHFbaJ 3yQxUZfAN2GR4tFO8ZBQrBYOLR++ILXUqXjuqR5pTbeqD+cdJf98/SvEcDEG0cNDsGcJ 3ziA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alarsen.net header.s=joe header.b=I6eMn7N8; 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=QUARANTINE sp=REJECT dis=NONE) header.from=alarsen.net Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id x71-20020a63864a000000b0057d7cff25b8si15819095pgd.198.2023.09.28.10.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 10:32:30 -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=@alarsen.net header.s=joe header.b=I6eMn7N8; 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=QUARANTINE sp=REJECT dis=NONE) header.from=alarsen.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 57AAF807DE27; Thu, 28 Sep 2023 05:50:23 -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 S232527AbjI1MuM (ORCPT + 99 others); Thu, 28 Sep 2023 08:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231293AbjI1MuL (ORCPT ); Thu, 28 Sep 2023 08:50:11 -0400 X-Greylist: delayed 506 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 28 Sep 2023 05:50:07 PDT Received: from mail.alarsen.net (mail.alarsen.net [144.76.18.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1997180; Thu, 28 Sep 2023 05:50:07 -0700 (PDT) Received: from oscar.alarsen.net (unknown [IPv6:fd8b:531:bccf:96:5e7e:df38:32c1:aeb5]) by joe.alarsen.net (Postfix) with ESMTPS id 44D1918090B; Thu, 28 Sep 2023 14:41:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alarsen.net; s=joe; t=1695904897; bh=7wmGsnWi3L6eimoKMMVKN4B7zijNh0V4YtFFMUwRxGg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I6eMn7N8ng72EQQrIOSUUobTmfVc1W1v933uzlyCaRMEK8SIeKyYH0Gak6Nb9nr31 AwGcPkG2zPBRTYSxc0fb1J4wERInn63FvWogR8ycSonFgbEb56Wy4vYHjU+ya+5zgq rnHmAy7DkpU2mPlFsPS0JDui6V2h9AZnoFEi0i+g= Received: from oscar.localnet (localhost [IPv6:::1]) by oscar.alarsen.net (Postfix) with ESMTPS id 2E6841395; Thu, 28 Sep 2023 14:41:37 +0200 (CEST) From: Anders Larsen To: Jeff Layton Cc: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 62/87] fs/qnx4: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 14:41:37 +0200 Message-ID: <3384318.5fSG56mABF@oscar> In-Reply-To: <20230928110413.33032-61-jlayton@kernel.org> References: <20230928110300.32891-1-jlayton@kernel.org> <20230928110413.33032-1-jlayton@kernel.org> <20230928110413.33032-61-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,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 05:50:23 -0700 (PDT) On 2023-09-28 13:03 Jeff Layton wrote: > 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); Acked-by: Anders Larsen