summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-09-27 23:45:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 05:03:33 +0300
commit9f088dba3cc267ea11ec0da318cd0175575b5f9b (patch)
tree66b13b6a708929e0c272c57b10850a9f790b0f88 /include/linux
parent7fb7027c44647338962d7aa35ddeedaaa6a9f7d6 (diff)
downloadlinux-9f088dba3cc267ea11ec0da318cd0175575b5f9b.tar.xz
staging/lustre: use jiffies for lp_last_query times
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions