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-4423 llite: Integer overflow in ll_ioctl_fiemap
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
lustre_compat25.h
diff --git
a/lustre/include/linux/lustre_compat25.h
b/lustre/include/linux/lustre_compat25.h
index
4ec8e55
..
5bebf47
100644
(file)
--- a/
lustre/include/linux/lustre_compat25.h
+++ b/
lustre/include/linux/lustre_compat25.h
@@
-361,4
+361,8
@@
static inline int radix_tree_exceptional_entry(void *arg)
}
#endif
+#ifndef SIZE_MAX
+#define SIZE_MAX (~(size_t)0)
+#endif
+
#endif /* _COMPAT25_H */