Whamcloud - gitweb
LU-188 Reduce startup messages.
[fs/lustre-release.git] / lustre / obdclass / mea.c
index 2e5946a..d3f06ee 100644 (file)
@@ -26,7 +26,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
@@ -39,7 +39,6 @@
 #ifdef __KERNEL__
 #include <linux/kmod.h>   /* for request_module() */
 #include <linux/module.h>
-#include <linux/random.h>
 #include <linux/slab.h>
 #include <linux/pagemap.h>
 #else
 
 #ifdef __KERNEL__
 
-#ifdef HAVE_EXT4_LDISKFS
-#include <ldiskfs/ldiskfs_jbd2.h>
-#else
-#include <linux/jbd.h>
-#endif
-
 #ifdef HAVE_SERVER_SUPPORT
-/* LDISKFS_SB() */
 
 #ifdef HAVE_EXT4_LDISKFS
+#include <ldiskfs/ldiskfs_jbd2.h>
 #include <ldiskfs/ldiskfs.h>
 #else
+#include <linux/jbd.h>
 #include <linux/ldiskfs_fs.h>
 #endif