diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2015-09-27 23:45:16 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 05:03:36 +0300 |
| commit | 1f8c37a4e29bb4794950228d2d9571029f277d7b (patch) | |
| tree | bd4090bf6fa748029557293cbf6a3df69fc7fefd /include/linux/securebits.h | |
| parent | 23d9a0467c6ce436e4f40e44e81005df6bdd9d2d (diff) | |
| download | linux-1f8c37a4e29bb4794950228d2d9571029f277d7b.tar.xz | |
staging/lustre: use 64-bit timestamps for selftest
The wire protocol for the ping uses a 64-bit seconds/microseconds
pair, but this won't work when one side uses a 32-bit timeval
to look up the current time beyond 2038.
This changes the code to use ktime_get_real_ts64() to create
a timestamp that has the right format on all machines.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/securebits.h')
0 files changed, 0 insertions, 0 deletions
