Whamcloud - gitweb
LU-4423 ptlrpc: use 64-bit times for request times
[fs/lustre-release.git] / lustre / mdc / mdc_locks.c
index 35b96ce..43c1152 100644 (file)
@@ -792,7 +792,7 @@ resend:
         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