Whamcloud - gitweb
LU-12400 llite: Use the new vm_fault_t type
[fs/lustre-release.git] / lustre / include / lustre_compat.h
index 8fb9131..4175c82 100644 (file)
@@ -323,6 +323,10 @@ static inline void set_nlink(struct inode *inode, unsigned int nlink)
 # define ll_umode_t    int
 #endif
 
+#ifndef HAVE_VM_FAULT_T
+#define vm_fault_t int
+#endif
+
 #include <linux/dcache.h>
 #ifndef HAVE_D_MAKE_ROOT
 static inline struct dentry *d_make_root(struct inode *root)