Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6283212ybl; Wed, 15 Jan 2020 01:57:27 -0800 (PST) X-Google-Smtp-Source: APXvYqyJeXb4VYxjD0+6DRlWBiPSOCWxcEyvCfbLHwX1LZL7pXnkVL5/fLhx5wKzkHlWmbWURwDr X-Received: by 2002:aca:b984:: with SMTP id j126mr20709371oif.174.1579082246937; Wed, 15 Jan 2020 01:57:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579082246; cv=none; d=google.com; s=arc-20160816; b=SZ161/sWsqFDZ6YNGsEjrUYjCOeWxNHHwEZzpZ/BuTRwfBCUdS1R/OYmuFOL3efx7V wThEQW1qghHQJ4RJgoB4qfczIyitQ3Ec6vhx2IC/lbdIOvKo216J56v4yS1DYWSYDPma My2BENIp/GYLX8TQFst3grBurwUwhoGeXJXwkEGWtJRKqBNRgI55khvomL8hw+axWUnA A1AjH9bPbeGCQRFTTbWiyKdfHdI6M/7cBYPbujJYo2s4+PvXxp2sTGdJrFG84/romhxW eVpNUXK425tJxkgv42MOv4Ih2V42f38+VNONr0RmY6NWxW1FEB6NRn2dsvuFjEeBPAVG /fVQ== 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 :in-reply-to:references:mime-version; bh=vQTp4Wu0nt74YABgKdEZBW8A2Tgkkc559WvnUPNBcfE=; b=aBKxYSmTCu7u6RtZgFFGWYKcBwFdo4X4HG96f1Ov9pFc0t2HqqcdaeOO1U9ckfx1OG biqNn3gfU5FAFCNPc4taq+XNorLhOk+embJtPEUfxM0QFpwVXtwHvQpv27XmqgGTBySJ b5C3PiiJnEWZwUmV2pDHHqCgX5oZVG1LJdbPkOb3T882Slb9cMqfB+X6S/Kn06KgdaTV 3YYxD3tyH9T1l5WLYGSjBkPL7mXHyEBVxYNMyiuFs2ZijlNMITH7yH0q0EC94UY4/e9T jVtA7JqVMNJfEJO8Q1tbM0IA8wGDMxtD7uUxmB1WXBUrgS3L/qb83CwMBiWtlcBSt3gr vn1g== ARC-Authentication-Results: i=1; mx.google.com; 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 g10si10554472otn.12.2020.01.15.01.57.14; Wed, 15 Jan 2020 01:57:26 -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; 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 S1729596AbgAOJ4V (ORCPT + 99 others); Wed, 15 Jan 2020 04:56:21 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:57443 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729504AbgAOJ4V (ORCPT ); Wed, 15 Jan 2020 04:56:21 -0500 Received: from mail-qv1-f46.google.com ([209.85.219.46]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MC0HF-1ixQ342HWv-00CRwE; Wed, 15 Jan 2020 10:56:19 +0100 Received: by mail-qv1-f46.google.com with SMTP id y8so7071620qvk.6; Wed, 15 Jan 2020 01:56:19 -0800 (PST) X-Gm-Message-State: APjAAAXpzGtW47WTGsCBCrUdEexzOZE5EZO3Knf58Yx2wt35mio/E9Oe Dr5WGwzMavMite6+nTQhTMvcwpIkoL1PTDHk16A= X-Received: by 2002:a0c:bd20:: with SMTP id m32mr21091474qvg.197.1579082178394; Wed, 15 Jan 2020 01:56:18 -0800 (PST) MIME-Version: 1.0 References: <20200115082447.19520-1-namjae.jeon@samsung.com> <20200115082447.19520-6-namjae.jeon@samsung.com> In-Reply-To: <20200115082447.19520-6-namjae.jeon@samsung.com> From: Arnd Bergmann Date: Wed, 15 Jan 2020 10:56:02 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v10 05/14] exfat: add file operations To: Namjae Jeon Cc: "linux-kernel@vger.kernel.org" , Linux FS-devel Mailing List , gregkh , Valdis Kletnieks , Christoph Hellwig , sj1557.seo@samsung.com, linkinjeon@gmail.com, =?UTF-8?Q?Pali_Roh=C3=A1r?= Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:xf7OWvxLyO5dkv9UTAUdswA1svDNZpiN9KtYlnOxJffY31aOJDG nEHQrs1pvYo9MuF5GZIOeAIuQ+OGhpZWH+KG799/uh1/hutFDZ22RETd3ZWyFjEaurxuIU5 Qq2AnpzdTuCpzW4EoC7yflLYYxITzp55uvsXf2OQJq07QqG/FIButW8zCZtsdDe42NfdpFa 4QpOM5fr3OzlhLWEjomIA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:RbamRkxCeF0=:nyoJl9JmUQttD+Y1SGP/Wj mAZ+F+zqYYS5uRyPpQBGztLht3oT3PfsiLkreOM8PutdDmdoNWUyXXxtNK5hD7Fr+jDHLBkcP KFdCG7oLeqxf+AnMGKxYNZ0/6FAL0kB965nB6dLSbe0c2YAol8Vw9EYo/8dueGJB4cc0rxNP7 xAYwsJoZduexyGhC98lz82u+AE5HNiLdxSGX1ItO5JFazKFh8zctKhPHsANLYgGT9jA7l27A3 zbaQ4iKHgfhZnMVLq3YgRCwYTwTEjhGEL37RBcIQRzhSfKSgU9tfHhk14DpvQhu2SvQUmKCGY MgEWhwC4iItJO4b/tYD52EqvCht3tmRbY2KVqHhO4PWDF8jhlYSJrB4CC0ml1moTi0P+EE7cP 3Z2s4pVzZLkwhfzhUxnISzKx9CnVMUMTZ7Ucg8fZhI/iRNhixz7Fn8EeHWekMm676jbxC3S2p HdpLRTSh64y4NnQIeX1DZzms4D0GjK4Xh9uqAPROdwar0XRyTmJj4gsHRML7DYpvagHLo881D k0wVd8TQNKW7Z3Dn2oYFqMdOOQkwFl8X/S7vzustWJ8svIXEvrh/q8nowC7hFX5TxRtNKogHY zNsS64FgCq29EOPWJ9ZlTJS3E9yT7/u80jJILAXIJBL5nxXuVEGQIcyvZ6+YLkc08QO2Nmh0/ qBmGqWg5ekB1KlCM68U7PMMXmY/drZClG06QsfIjYfuJcAjQM+hauqNDrU18OoofnQBKQkysv sa6bvVFJBj7mSQlg77DMgSeg8RH/Jj7CSNJSEfuo7k3xtbc36iPxPmDJwodCJJYkoUtSdgV89 Ggzh3GXw3mKy2xiv390c4VUIKhQO6FhGsGC/SlGbFnJxmcDTDY4J/kL3a7Tc9npDjnJFIPRQ7 wJXQq4ev3ILdJNfZkbng== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Arnd