Whamcloud - gitweb
LU-3079 osd-zfs: Change header order to avoid build fail 68/6968/2
authoryangsheng <yang.sheng@intel.com>
Fri, 12 Jul 2013 19:49:24 +0000 (03:49 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 26 Jul 2013 17:55:34 +0000 (17:55 +0000)
SPL redefined list_move_tail() in sys/list.h. It will
confused if system & lustre header use list_move_tail()
after SPL header.

Signed-off-by: yang sheng <yang.sheng@intel.com>
Change-Id: I946e810b57affdeedbfc16bb5e502ebde0716039
Reviewed-on: http://review.whamcloud.com/6968
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-zfs/udmu.c

index 69408b3..f36f026 100644 (file)
@@ -45,6 +45,9 @@
  * Author: Mike Pershin <tappro@whamcloud.com>
  */
 
+#include <lustre/lustre_idl.h>  /* OBD_OBJECT_EOF */
+#include <lustre/lustre_user.h> /* struct obd_statfs */
+
 #include <sys/dnode.h>
 #include <sys/dbuf.h>
 #include <sys/spa.h>
@@ -58,9 +61,6 @@
 #include <sys/sa_impl.h>
 #include <sys/txg.h>
 
-#include <lustre/lustre_idl.h>  /* OBD_OBJECT_EOF */
-#include <lustre/lustre_user.h> /* struct obd_statfs */
-
 #include "udmu.h"
 
 int udmu_blk_insert_cost(void)