diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-09-27 16:45:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 04:03:37 +0200 |
commit | d9f79e6bf02c109f117132163239bfffa6475ccb (patch) | |
tree | 84929ba009fdc3659a4aa23318bed08e9f12870f /drivers/staging/lustre/lnet/selftest/selftest.h | |
parent | staging/lustre: use 64-bit time for ni_last_alive (diff) | |
download | linux-dev-d9f79e6bf02c109f117132163239bfffa6475ccb.tar.xz linux-dev-d9f79e6bf02c109f117132163239bfffa6475ccb.zip |
staging/lustre: use 64-bit time for selftest
The lustre selftest code has multiple time stamps that are kept
as 'time_t' or 'unsigned long' and can therefore overflow on
32-bit systems.
This changes the code to use time64_t instead.
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 'drivers/staging/lustre/lnet/selftest/selftest.h')
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/selftest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/selftest.h b/drivers/staging/lustre/lnet/selftest/selftest.h index 160d68ce6ffd..48322539a3a3 100644 --- a/drivers/staging/lustre/lnet/selftest/selftest.h +++ b/drivers/staging/lustre/lnet/selftest/selftest.h @@ -279,7 +279,7 @@ struct srpc_service_cd { /** error code for scd_buf_wi */ int scd_buf_err; /** timestamp for scd_buf_err */ - unsigned long scd_buf_err_stamp; + time64_t scd_buf_err_stamp; /** total # request buffers */ int scd_buf_total; /** # posted request buffers */ |