Эх сурвалжийг харах

libceph: fixup includes in pagelist.h

pagelist.h needs to include linux/types.h and asm/byteorder.h and not
rely on other headers pulling yet another set of headers.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Ilya Dryomov 10 жил өмнө
parent
commit
84a1d2d1ec

+ 3 - 1
include/linux/ceph/pagelist.h

@@ -1,8 +1,10 @@
 #ifndef __FS_CEPH_PAGELIST_H
 #ifndef __FS_CEPH_PAGELIST_H
 #define __FS_CEPH_PAGELIST_H
 #define __FS_CEPH_PAGELIST_H
 
 
-#include <linux/list.h>
+#include <asm/byteorder.h>
 #include <linux/atomic.h>
 #include <linux/atomic.h>
+#include <linux/list.h>
+#include <linux/types.h>
 
 
 struct ceph_pagelist {
 struct ceph_pagelist {
 	struct list_head head;
 	struct list_head head;