HomeFreeBSD

Linux 4.20 compat: current_kernel_time()

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Oct 31 2018, 4:50 PM
GitHub <noreply@github.com>Committed on Oct 31 2018, 4:50 PM
Parents
rG9042f6033a72: Improve snapshot listing error message
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG82c0a050fcaa: Linux 4.20 compat: current_kernel_time() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Oct 31 2018, 4:50 PM