summaryrefslogtreecommitdiff
path: root/fs/inode.c
diff options
context:
space:
mode:
authorDeepa Dinamani <deepa.kernel@gmail.com>2019-12-02 21:19:43 -0800
committerAl Viro <viro@zeniv.linux.org.uk>2019-12-08 19:10:54 -0500
commit1bfad0c079415a3e7152c4dd4f2fb0b2e4c2851d (patch)
tree48753d5176e329dd6d8df131397dae2925a5bf24 /fs/inode.c
parent668c9a61e3bf31b0dff108009add7fcd4c387869 (diff)
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