]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
libceph: fixup includes in pagelist.h
authorIlya Dryomov <idryomov@redhat.com>
Mon, 17 Nov 2014 18:45:24 +0000 (21:45 +0300)
committerIlya Dryomov <idryomov@redhat.com>
Wed, 17 Dec 2014 17:09:53 +0000 (20:09 +0300)
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>
include/linux/ceph/pagelist.h

index 5f871d84ddcea591418825f4bf863ea587e3b38d..13d71fe18b0cf54f6097242fd08b9a30c6c48bbe 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef __FS_CEPH_PAGELIST_H
 #define __FS_CEPH_PAGELIST_H
 
-#include <linux/list.h>
+#include <asm/byteorder.h>
 #include <linux/atomic.h>
+#include <linux/list.h>
+#include <linux/types.h>
 
 struct ceph_pagelist {
        struct list_head head;