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
/
mdt
/
mdt_handler.c
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
7b0c612
..
57426d9
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-442,7
+442,7
@@
static int mdt_statfs(struct tgt_session_info *tsi)
GOTO(out, rc = -EPROTO);
rc = tgt_statfs_internal(tsi->tsi_env, &mdt->mdt_lut, osfs,
-
cfs_time_shift_64(-OBD_STATFS_CACHE_SECONDS)
,
+
ktime_get_seconds() - OBD_STATFS_CACHE_SECONDS
,
NULL);
if (unlikely(rc))
GOTO(out, rc);