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-9019 libcfs: remove cfs_time_XXX_64 wrappers
[fs/lustre-release.git]
/
lustre
/
target
/
tgt_main.c
diff --git
a/lustre/target/tgt_main.c
b/lustre/target/tgt_main.c
index
55fa9d6
..
448cd2e
100644
(file)
--- a/
lustre/target/tgt_main.c
+++ b/
lustre/target/tgt_main.c
@@
-195,7
+195,7
@@
int tgt_init(const struct lu_env *env, struct lu_target *lut,
/* statfs data */
spin_lock_init(&tgd->tgd_osfs_lock);
- tgd->tgd_osfs_age =
cfs_time_shift_64(-1000)
;
+ tgd->tgd_osfs_age =
ktime_get_seconds() - 1000
;
tgd->tgd_osfs_unstable = 0;
tgd->tgd_statfs_inflight = 0;
tgd->tgd_osfs_inflight = 0;