Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-6245 libcfs: add ktime_get_real_seconds support
[fs/lustre-release.git]
/
lnet
/
lnet
/
config.c
diff --git
a/lnet/lnet/config.c
b/lnet/lnet/config.c
index
322f776
..
ba8b879
100644
(file)
--- a/
lnet/lnet/config.c
+++ b/
lnet/lnet/config.c
@@
-187,7
+187,7
@@
lnet_ni_alloc(__u32 net, struct cfs_expr_list *el, struct list_head *nilist)
else
ni->ni_net_ns = NULL;
- ni->ni_last_alive =
cfs_time_current_sec
();
+ ni->ni_last_alive =
ktime_get_real_seconds
();
list_add_tail(&ni->ni_list, nilist);
return ni;
failed: