Linux_5.0: replaced current_kernel_time with ktime_get_coarse_real_ts64 34/13434/8
authorCheyenne Wills <cwills@sinenomine.net>
Sat, 19 Jan 2019 00:22:44 +0000 (17:22 -0700)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 22 Jan 2019 18:44:22 +0000 (13:44 -0500)
commit21ad6a0c826c150c4227ece50554101641ab4626
treed7ca61387aa34d9bd644a11e16bfc6b5d9a58e1e
parentb892fb127815bdf72103ae41ee70aadd87931b0c
Linux_5.0: replaced current_kernel_time with ktime_get_coarse_real_ts64

In Kernel commit fb7fcc96a86cfaef0f6dcc0665516aa68611e736 the
current_kernel_time/current_kernel_time64 functions where renamed
and the calling was standardized.

According to the Linux Documentation/core-api/timekeeping.rst
ktime_get_coarse_real_ts64 is the direct replacement for
current_kernel_time64.  Because of year 2038 issues, there is no
replacement for current_kernel_time.

Updated code that used current_kernel_time to use new name and calling
convention.

Updated autoconf test that sets IATTR_TAKES_64BIT_TIME as well.

Change-Id: I607bdcf6f023425975e5bb747e0e780b3d2a7ce5
Reviewed-on: https://gerrit.openafs.org/13434
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_file.c
src/cf/linux-test4.m4