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-9580 tests: remove performance-sanity tests from ALWAYS_EXCEPT
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_compat.h
diff --git
a/lustre/include/lustre_compat.h
b/lustre/include/lustre_compat.h
index
8e2a9c6
..
ef60f3e
100644
(file)
--- a/
lustre/include/lustre_compat.h
+++ b/
lustre/include/lustre_compat.h
@@
-620,4
+620,11
@@
static inline void __user *get_vmf_address(struct vm_fault *vmf)
# define ll_filemap_fault(vma, vmf) filemap_fault(vma, vmf)
#endif
+#ifndef HAVE_CURRENT_TIME
+static inline struct timespec current_time(struct inode *inode)
+{
+ return CURRENT_TIME;
+}
+#endif
+
#endif /* _LUSTRE_COMPAT_H */