diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2019-12-03 08:19:41 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-12-09 03:10:52 +0300 |
commit | 918c900987f2ea59c3de793b744bff5f7d691ac2 (patch) | |
tree | c9537e229a0ee71ad5dd50380a8d6f33f65dc71f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 97acf83de493ece462b7edccf920f0dbfb857f2b (diff) | |
download | linux-918c900987f2ea59c3de793b744bff5f7d691ac2.tar.xz |
fs: cifs: Delete usage of timespec64_trunc
timestamp_truncate() is the replacement api for
timespec64_trunc. timestamp_truncate() additionally clamps
timestamps to make sure the timestamps lie within the
permitted range for the filesystem.
Truncate the timestamps in the struct cifs_attr at the
site of assignment to inode times. This
helps us use the right fs api timestamp_trucate() to
perform the truncation.
Also update the ktime_get_* api to match the one used in
current_time(). This allows for timestamps to be updated
the same way always.
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: stfrench@microsoft.com
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions