Whamcloud - gitweb
LU-14437 gnilnd: use ktime_get_seconds() to get time 79/41679/4
authorShaun Tancheff <shaun.tancheff@hpe.com>
Sat, 9 Oct 2021 04:33:23 +0000 (11:33 +0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Nov 2021 03:47:09 +0000 (03:47 +0000)
commit6750e0230a9a3eda1b920b10b66faad221244293
treea62cfd27e6ddcc89ac478e4c68e05a591e8d46ad
parent4afdbf9dfd3b33510bf9f1d8a74c8655de5b086e
LU-14437 gnilnd: use ktime_get_seconds() to get time

Use ktime_get_seconds() to directly get the time inatead of
getting a timespec and converting it.

Fixes: 4b0e495e3c ("LU-14080 gnilnd: updates for SUSE 15 SP2")
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I256855ceb9e038a9960fa76fe6e3bfe63fb16580
Reviewed-on: https://review.whamcloud.com/41679
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/gnilnd/gnilnd.c