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-4423 ptlrpc: use 64-bit times for request times
[fs/lustre-release.git]
/
lustre
/
mdc
/
mdc_locks.c
diff --git
a/lustre/mdc/mdc_locks.c
b/lustre/mdc/mdc_locks.c
index
35b96ce
..
43c1152
100644
(file)
--- a/
lustre/mdc/mdc_locks.c
+++ b/
lustre/mdc/mdc_locks.c
@@
-792,7
+792,7
@@
resend:
if (resends) {
req->rq_generation_set = 1;
req->rq_import_generation = generation;
if (resends) {
req->rq_generation_set = 1;
req->rq_import_generation = generation;
-
req->rq_sent = cfs_time_current_sec
() + resends;
+
req->rq_sent = ktime_get_real_seconds
() + resends;
}
/* It is important to obtain modify RPC slot first (if applicable), so
}
/* It is important to obtain modify RPC slot first (if applicable), so