]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 5.6 compat: timestamp_truncate()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 6 Feb 2020 20:37:25 +0000 (12:37 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Feb 2020 19:04:32 +0000 (11:04 -0800)
commit795699a6cc28b8f1059397e03d1a86d576bfc7dc
treeb74437b02e3e0e846d98334c3408cad0caa13581
parent0dd73648532e8654e07c28bba6c80bfb779a4938
Linux 5.6 compat: timestamp_truncate()

The timestamp_truncate() function was added, it replaces the existing
timespec64_trunc() function.  This change renames our wrapper function
to be consistent with the upstream name and updates the compatibility
code for older kernels accordingly.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9956
Closes #9961
config/kernel-inode-times.m4
include/os/linux/zfs/sys/zpl.h
module/os/linux/zfs/zfs_vnops.c
module/os/linux/zfs/zpl_inode.c