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
/
router_proc.c
diff --git
a/lnet/lnet/router_proc.c
b/lnet/lnet/router_proc.c
index
40d0289
..
efec11b
100644
(file)
--- a/
lnet/lnet/router_proc.c
+++ b/
lnet/lnet/router_proc.c
@@
-681,7
+681,7
@@
proc_lnet_nis(struct ctl_table *table, int write, void __user *buffer,
if (ni != NULL) {
struct lnet_tx_queue *tq;
char *stat;
-
long now = cfs_time_current_sec
();
+
time64_t now = ktime_get_real_seconds
();
int last_alive = -1;
int i;
int j;