summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@redhat.com>2014-11-17 21:45:24 +0300
committerIlya Dryomov <idryomov@redhat.com>2014-12-17 20:09:53 +0300
commit84a1d2d1ecd9ae2fc1ae51d8529090000e88a210 (patch)
treeb870bb3bba834ca4aa10cb6997fc003a5e9bfe3d
parent65a22662bfe1a84d72b9bbd9146b6782b9e53478 (diff)
downloadlinux-84a1d2d1ecd9ae2fc1ae51d8529090000e88a210.tar.bz2
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>
-rw-r--r--include/linux/ceph/pagelist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ceph/pagelist.h b/include/linux/ceph/pagelist.h
index 5f871d84ddce..13d71fe18b0c 100644
--- a/include/linux/ceph/pagelist.h
+++ b/include/linux/ceph/pagelist.h
@@ -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;