Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1836927ybl; Sun, 18 Aug 2019 11:35:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDVemWmEOT8QrqsCXHjhUNAcVFQ/gZfVXYgFglnDfSNjHHU5NjoywF2r5CrOCmz+wJ+9Cp X-Received: by 2002:a17:902:ba0c:: with SMTP id j12mr9133642pls.231.1566153354637; Sun, 18 Aug 2019 11:35:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566153354; cv=none; d=google.com; s=arc-20160816; b=WWqBOZnvKzymkSJUuvCVPb8+7iWwtF+AuX2Lg5p9s9xxOnotGVeIquTCmdRukJ/a0h pRlnFgUBEywL3IJqa7sv/86DcphG7WKFbaW7Cbxu9jg57yOUKFdv4LmbO3eVaO8G0Tpb tX5s0ElsXm7pfVxOAjQXwGHVEQp92d6llP5fnjJbpa72T/HCjJ4ExrhsYevOZ+xBjVtc 5CS+Kfp6e1keBWO0adIhn9ONqMLh47fCLx9+DPBfOoipr4s2hAY7F/FIzWqO4FiflxWC 7vFqpvdNFDqYdtPoZ6L1GtTlKNAgVFpoDgpIRzMdn4MBGN2a6Qcs0wWEqFqOUYWXeH72 D+UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ArFQVqarRBT6JVLyhFl0mU/THpX7OedUDxjXd4T38Dg=; b=T5kUINcdeEaD72wB89PQwu7LfSj3h6cSW4Y3tGrsbZjEUxWOSBDmANu44Pzsm2cEzC u8SPg6yqlpn9fknTzVDhagXGMm0OyH1khTY4bxuIASffVx7qsEQD9GH25fqruDljnZ0P GWpa7ZMgTBFnooq9lFJyGheqVTg+VjuLMZWshf8SV/G4cw5Q6S0CadLqfi79+bfYzOiv VNGan5fUdJ1+41VvEaIeb5DI4Ce49Qz1Oeear+2aYWooSeLK6WAXATTd29qna9WuhqSb i60uzMUIF8MQQo5LEuzG1XN3ImNiRHuwyK27AFqBIWFOaI4+dDvt6FjKOCFxky/g16se oXRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gGZ5UHz+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg1si7739463plb.210.2019.08.18.11.35.40; Sun, 18 Aug 2019 11:35:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gGZ5UHz+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbfHRSet (ORCPT + 99 others); Sun, 18 Aug 2019 14:34:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:44642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbfHRSet (ORCPT ); Sun, 18 Aug 2019 14:34:49 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D91862184D; Sun, 18 Aug 2019 18:34:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566153288; bh=NoAluoc+Uq1qt0jwwoy3iiCN6uLBPDpdA+kJGNLfpEc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gGZ5UHz+VcRsH4bqNPorYZKMdOjs4yjmQumubPysA2fMTlAuE1QxyfIcxRbYwSVeI Qb4pWxTOnTUKPIM2ipvQtTNTl0RqCtrF1ds4J+2Oe4TVNBnOCeRoFiFduU+U2Qjj+q RM0RP0rlCS881frkAmEiHevGSBTCsQWY54ANTTN4= Date: Sun, 18 Aug 2019 20:34:46 +0200 From: Greg KH To: Deepa Dinamani Cc: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, y2038@lists.linaro.org, arnd@arndb.de, adrian.hunter@intel.com, dedekind1@gmail.com, hch@lst.de, jaegeuk@kernel.org, jlbec@evilplan.org, richard@nod.at, tj@kernel.org, yuchao0@huawei.com, linux-f2fs-devel@lists.sourceforge.net, linux-ntfs-dev@lists.sourceforge.net, linux-mtd@lists.infradead.org Subject: Re: [PATCH v8 03/20] timestamp_truncate: Replace users of timespec64_trunc Message-ID: <20190818183446.GA2791@kroah.com> References: <20190818165817.32634-1-deepa.kernel@gmail.com> <20190818165817.32634-4-deepa.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190818165817.32634-4-deepa.kernel@gmail.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 18, 2019 at 09:58:00AM -0700, Deepa Dinamani wrote: > Update the inode timestamp updates to use timestamp_truncate() > instead of timespec64_trunc(). > > The change was mostly generated by the following coccinelle > script. > > virtual context > virtual patch > > @r1 depends on patch forall@ > struct inode *inode; > identifier i_xtime =~ "^i_[acm]time$"; > expression e; > @@ > > inode->i_xtime = > - timespec64_trunc( > + timestamp_truncate( > ..., > - e); > + inode); > > Signed-off-by: Deepa Dinamani > Cc: adrian.hunter@intel.com > Cc: dedekind1@gmail.com > Cc: gregkh@linuxfoundation.org > Cc: hch@lst.de > Cc: jaegeuk@kernel.org > Cc: jlbec@evilplan.org > Cc: richard@nod.at > Cc: tj@kernel.org > Cc: yuchao0@huawei.com > Cc: linux-f2fs-devel@lists.sourceforge.net > Cc: linux-ntfs-dev@lists.sourceforge.net > Cc: linux-mtd@lists.infradead.org > --- > fs/attr.c | 21 ++++++++++++--------- > fs/configfs/inode.c | 12 ++++++------ > fs/f2fs/file.c | 21 ++++++++++++--------- > fs/kernfs/inode.c | 7 +++---- > fs/ntfs/inode.c | 21 ++++++++++++--------- > fs/ubifs/file.c | 21 ++++++++++++--------- > 6 files changed, 57 insertions(+), 46 deletions(-) For kernfs: Acked-by: Greg Kroah-Hartman