commit | 5e50efea6a4fe6c92dce3022878f91cf17bdceb8 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Sun Sep 27 16:45:10 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 29 04:03:35 2015 +0200 |
tree | 28121e73c52705221d2678dddf100f69911f31c4 | |
parent | a11ef8ca94cccca98e0d7f23d5145cad71dd62f0 [diff] |
staging/lustre: use 64-bit time LNetCtl() This ioctl function passes a 64-bit time argument but then performs a computation with a 32-bit get_seconds() value. In order to avoid overflow here, this changes the code to use 64-bit math and ktime_get_real_seconds(). 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>