diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2019-12-02 21:19:43 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-12-08 19:10:54 -0500 |
commit | 1bfad0c079415a3e7152c4dd4f2fb0b2e4c2851d (patch) | |
tree | 48753d5176e329dd6d8df131397dae2925a5bf24 /fs/inode.c | |
parent | 668c9a61e3bf31b0dff108009add7fcd4c387869 (diff) | |
download | linux-1bfad0c079415a3e7152c4dd4f2fb0b2e4c2851d.tar.bz2 |
fs: ubifs: Eliminate timespec64_trunc() usage
DEFAULT_TIME_GRAN is seconds granularity. We can
just drop the nsec while creating the default root node.
Delete the unneeded call to timespec64_trunc().
Also update the ktime_get_* api to match the one used in
current_time(). This allows for the timestamps to be updated
by using the same ktime_get_* api always.
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: richard@nod.at
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions