commit | 8efd6894ff089adeeac7cb9f32125b85d963d1bc | [log] [tgz] |
---|---|---|
author | Deepa Dinamani <deepa.kernel@gmail.com> | Sun Apr 22 20:18:46 2018 -0700 |
committer | Deepa Dinamani <deepa.kernel@gmail.com> | Fri May 25 15:31:09 2018 -0700 |
tree | ba9af4e1fa02f46279683236e1a5c9407d12d6d0 | |
parent | 771c577c23bac90597c685971d7297ea00f99d11 [diff] |
fs: add timespec64_truncate() As vfs moves to using struct timespec64 to represent times, update the argument to timespec_truncate() to use struct timespec64. Also change the name of the function. The rest of the implementation logic is the same. Move this to fs/inode.c instead of kernel/time/time.c as all the users of this api are filesystems. Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com> Cc: <viro@zeniv.linux.org.uk>