Whamcloud - gitweb
LU-4423 llite: Integer overflow in ll_ioctl_fiemap
[fs/lustre-release.git] / lustre / include / linux / lustre_compat25.h
index 4ec8e55..5bebf47 100644 (file)
@@ -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 */