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
Obsolete CURRENT_SECONDS and use cfs_time_current_sec() instead.
[fs/lustre-release.git]
/
lustre
/
osd
/
osd_handler.c
diff --git
a/lustre/osd/osd_handler.c
b/lustre/osd/osd_handler.c
index
68f2e3e
..
25df3a4
100644
(file)
--- a/
lustre/osd/osd_handler.c
+++ b/
lustre/osd/osd_handler.c
@@
-1487,7
+1487,7
@@
static struct obd_capa *osd_capa_get(const struct lu_env *env,
spin_unlock(&capa_lock);
capa->lc_keyid = key->lk_keyid;
- capa->lc_expiry =
CURRENT_SECONDS
+ dev->od_capa_timeout;
+ capa->lc_expiry =
cfs_time_current_sec()
+ dev->od_capa_timeout;
rc = capa_hmac(capa->lc_hmac, capa, key->lk_key);
if (rc) {