]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging/lustre: use jiffies for lp_last_query times
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:01 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2015 19:34:43 +0000 (14:34 -0500)
commitb2cb7afbb1693195b3171e85b10c0aa42ff37990
tree79158e53fde8f18418bac1cd493ae9b8cf71b0b8
parent7588e627c8891e53e86c600d312cef20acef81e5
staging/lustre: use jiffies for lp_last_query times

commit 9f088dba3cc267ea11ec0da318cd0175575b5f9b upstream.

The recently introduced lnet_peer_set_alive() function uses
get_seconds() to read the current time into a shared variable,
but all other uses of that variable compare it to jiffies values.

This changes the current use to jiffies as well for consistency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: af3fa7c71bf ("staging/lustre/lnet: peer aliveness status and NI status")
Cc: Liang Zhen <liang.zhen@intel.com>
Cc: James Simmons <uja.ornl@gmail.com>
Cc: Isaac Huang <he.huang@intel.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/lib-lnet.h