aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorDeepa Dinamani <[email protected]>2019-12-02 21:19:41 -0800
committerAl Viro <[email protected]>2019-12-08 19:10:52 -0500
commit918c900987f2ea59c3de793b744bff5f7d691ac2 (patch)
treec9537e229a0ee71ad5dd50380a8d6f33f65dc71f /drivers/usb/cdns3/cdns3-debug.h
parent97acf83de493ece462b7edccf920f0dbfb857f2b (diff)
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 <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions