Whamcloud - gitweb
add support for build HEAD without vfs_intent patches.
[fs/lustre-release.git] / lustre / ldlm / ldlm_lock.c
index c7ec85a..b42d6a5 100644 (file)
@@ -28,7 +28,9 @@
 
 #ifdef __KERNEL__
 # include <libcfs/libcfs.h>
+# ifndef HAVE_VFS_INTENT_PATCHES
 # include <linux/lustre_intent.h>
+# endif
 #else
 # include <liblustre.h>
 # include <libcfs/kp30.h>