Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6461877ybl; Wed, 15 Jan 2020 05:09:30 -0800 (PST) X-Google-Smtp-Source: APXvYqw+4BhWG8Fmym6FLEpwTDmfPDwAoNvN1mnKtaEVgeAwBfCgTqiVh4umWbzEpb028DFjPHbD X-Received: by 2002:aca:3909:: with SMTP id g9mr19957356oia.118.1579093770879; Wed, 15 Jan 2020 05:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579093770; cv=none; d=google.com; s=arc-20160816; b=rAqxQCnMgFOLi3Oi3dWjQFdNll/0VtH77v4Xeuga8ZKAe2LxiiwfdnDxiEZvS7de43 Ud8YuX0GyoPyJ6H7bbEaLrlC2CXKckWul9C3WV30rU1Z58KXRz32JNq1doB15gH3OKP6 r4yOIXvxsrj5tShpX8B14U7rWM8muoLOa0QmOig119au2eL3VCDPPNFTLvlJT9o5yFXE kEEYpII/QIKXTxfF48IWa826iEkHWYgJ8JJ/F6OLJqmwr4Lwoc5sSz5Ds+YZactyVQrJ 6bUOhcLf4n1sLHvIoEKovFQazZ7NuhPaSxfu/YFC50pO20kUvugsEnuLKKDOetdb3RYH WNig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=Uc0xbXgTVUa2g+0VE0qpo9jTGqpit0XhHI4GsKKT/VM=; b=lttt7JXcccdqGkmI08YcyZIu2J4MXFn1fd2aaD0iSTFgtSZa764vg8y0SijlzE4KAm odPHJRo1BK4aQ0awNXXvyp0B3jsbpeVYTDisDTkbz6GPsOOQFuRSnaQD3AMBAlQbDh5L rMPabOzeUaGYgtPImsmDszmxhwzojK9WvLKnrGvpgEXBpZ/4KKPjLd1m+TG/Z4PNo5Sg Ydb+kV8s0+nWUipX6YW0N8wNB/D+31A3/BgAWQ4X15xrdGH+3ueoO1X/XR7liGBEiYgD 0OrzQ4wgi8c9C5oftG3CYklqCkZzCs93NQFBqf62Mn7UcMxlr2O7uNMJAHL6EX4iAOFj TRuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HgGdXFID; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si10739928otp.20.2020.01.15.05.09.17; Wed, 15 Jan 2020 05:09:30 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=HgGdXFID; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728909AbgAONHk (ORCPT + 99 others); Wed, 15 Jan 2020 08:07:40 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:46051 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbgAONHj (ORCPT ); Wed, 15 Jan 2020 08:07:39 -0500 Received: by mail-oi1-f195.google.com with SMTP id n16so15258817oie.12; Wed, 15 Jan 2020 05:07:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Uc0xbXgTVUa2g+0VE0qpo9jTGqpit0XhHI4GsKKT/VM=; b=HgGdXFIDSNlO1Wse+Ln8TzTGQlaJMQ4UTejLeKnr1VxiJ20xDmvuOWL3Go7oaPa/rc kBjg84j4tiOoZrmdF+zV8w4A3qHpFZV9jrwWjIfFjzm/8WkpHlbi3rHGmYrgsBwCIZzo S1fsUA1xKeZzAD1NecFw5GDYp/G+3ZVDriiqwSxnsuxmogmQ1+t8kv/KCjaywZkfkKbn oCvHJSc/D6rY76WJlE78yWIchkHM7EYK4QMBxA0+5eYsnuk2IAtzB97yTW9fBjwrg8fl lY9aB0QeyTcxLXPLEsF1MfAPuLzUJc4wQsTbYAu6aZPcNc7lyl7eCGvc/hEAf2v0xhdF 3faA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Uc0xbXgTVUa2g+0VE0qpo9jTGqpit0XhHI4GsKKT/VM=; b=AB7rUuckC/nKgpTO3reVllw02ZvXcC0fXCx5IBBDtUEnjzOAiMon3a4zgJ1lVewoyg aInj2Yly59+Nbp36nzAzCmfdFkWr3oYODg44z/T9E59AHbO/YorIHtSEpYi6zIkeQOy2 4B0Ld7DQtVKaW5tMbnoXXMlv7QUcqTCqODOmIrG8NHQ3B65bedphizqOTHIfonh/rIT1 R0tL4gZe01/wHQnEvx3ExlzuEIpBu24hJHEMP+piMDyWMRq9C3VvAWkj5lASHlGclRU+ 1YigiPLJtE/mT7WMwoaQprrsYPcJGNJuwfEvVgRP20XIkUWSTH0rKZplXgKUuSQ+EE7q wwkA== X-Gm-Message-State: APjAAAXl6T+xomXb3jF8DBHVId7ufgDmYREINs4YUAVKLYJuIBxez8kr j2rstWD+Zj6hyuLE7XOF9sXRVdOhCWO10onthLo= X-Received: by 2002:aca:5490:: with SMTP id i138mr21103528oib.69.1579093658646; Wed, 15 Jan 2020 05:07:38 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a8a:87:0:0:0:0:0 with HTTP; Wed, 15 Jan 2020 05:07:38 -0800 (PST) In-Reply-To: References: <20200115082447.19520-1-namjae.jeon@samsung.com> <20200115082447.19520-6-namjae.jeon@samsung.com> From: Namjae Jeon Date: Wed, 15 Jan 2020 22:07:38 +0900 Message-ID: Subject: Re: [PATCH v10 05/14] exfat: add file operations To: Arnd Bergmann Cc: Namjae Jeon , "linux-kernel@vger.kernel.org" , Linux FS-devel Mailing List , gregkh , Valdis Kletnieks , Christoph Hellwig , sj1557.seo@samsung.com, =?UTF-8?Q?Pali_Roh=C3=A1r?= Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2020-01-15 18:56 GMT+09:00, Arnd Bergmann : > On Wed, Jan 15, 2020 at 9:28 AM Namjae Jeon > wrote: > >> + >> + ktime_get_real_ts64(&ts); >> + exfat_set_entry_time(sbi, &ts, >> + &ep->dentry.file.modify_time, >> + &ep->dentry.file.modify_date, >> + &ep->dentry.file.modify_tz); > > I think this part should use current_time() instead of > ktime_get_real_ts64() > so it gets truncated to the correct resolution and range. > > Please also check if there are other callers of ktime_get_real_ts64() that > may need the same change. Okay, I will change them. Thanks! > > Arnd >