summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-09-27 23:45:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 05:03:35 +0300
commit5e50efea6a4fe6c92dce3022878f91cf17bdceb8 (patch)
tree28121e73c52705221d2678dddf100f69911f31c4 /include/linux
parenta11ef8ca94cccca98e0d7f23d5145cad71dd62f0 (diff)
downloadlinux-5e50efea6a4fe6c92dce3022878f91cf17bdceb8.tar.xz
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions