]> granicus.if.org Git - zfs/commit
Linux 4.20 compat: current_kernel_time()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 31 Oct 2018 16:50:42 +0000 (11:50 -0500)
committerGitHub <noreply@github.com>
Wed, 31 Oct 2018 16:50:42 +0000 (11:50 -0500)
commit82c0a050fcaa50c2d35e562858fa5c95e05caecd
treef0d50ca29c51790ca46eff335bde85380a996cf1
parent9042f6033a72e2ffbd4f92af7de83ad0f81f1dfc
Linux 4.20 compat: current_kernel_time()

Commit torvalds/linux@976516404 removed the current_kernel_time()
function (and several others).  All callers are expected to use
current_kernel_time64().  Update the gethrestime_sec() wrapper
accordingly.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8074
include/spl/sys/time.h