Whamcloud - gitweb
LU-5031 tests: obdfilter-survey fixes
[fs/lustre-release.git] / lustre / utils / mount_lustre.c
index 4276e5c..7671da3 100644 (file)
@@ -53,6 +53,7 @@
 #include <lustre_ver.h>
 #include <ctype.h>
 #include <limits.h>
+#include <lustre/lustre_idl.h>
 #if LUSTRE_VERSION_CODE > OBD_OCD_VERSION(2, 10, 51, 0)
 /*
  * LU-1783
@@ -63,7 +64,7 @@
  * set of flag #defines we should stop including linux/fs.h
  */
 #warn remove kernel include
-#else
+#elif !defined(MS_RDONLY)
 #include <linux/fs.h>
 #endif