aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorDeepa Dinamani <[email protected]>2016-10-01 23:46:26 +0000
committerAnna Schumaker <[email protected]>2016-10-04 20:20:26 +0000
commit2f86e0919a02d61ed2350c07f383e5542b904289 (patch)
treeef5997e2e42bc6c7a9b1279d676f8f1a22d3ed83 /scripts/gcc-plugins/gcc-common.h
parentsunrpc: replace generic auth_cred hash with auth-specific function (diff)
downloadkernel-2f86e0919a02d61ed2350c07f383e5542b904289.tar.gz
kernel-2f86e0919a02d61ed2350c07f383e5542b904289.zip
fs: nfs: Make nfs boot time y2038 safe
boot_time is represented as a struct timespec. struct timespec and CURRENT_TIME are not y2038 safe. Overall, the plan is to use timespec64 and ktime_t for all internal kernel representation of timestamps. CURRENT_TIME will also be removed. boot_time is used to construct the nfs client boot verifier. Use ktime_t to represent boot_time and ktime_get_real() for the boot_time value. Following Trond's request https://lkml.org/lkml/2016/6/9/22 , use ktime_t instead of converting to struct timespec64. Use higher and lower 32 bit parts of ktime_t for the boot verifier. Use the lower 32 bit part of ktime_t for the authsys_parms stamp field. Signed-off-by: Deepa Dinamani <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: Anna Schumaker <[email protected]> Cc: [email protected] Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions