瀏覽代碼

ceph: add missing #includes

Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil 15 年之前
父節點
當前提交
d45d0d970f
共有 3 個文件被更改,包括 4 次插入0 次删除
  1. 1 0
      fs/ceph/auth.c
  2. 2 0
      fs/ceph/auth_none.h
  3. 1 0
      fs/ceph/super.h

+ 1 - 0
fs/ceph/auth.c

@@ -3,6 +3,7 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/err.h>
+#include <linux/slab.h>
 
 #include "types.h"
 #include "auth_none.h"

+ 2 - 0
fs/ceph/auth_none.h

@@ -1,6 +1,8 @@
 #ifndef _FS_CEPH_AUTH_NONE_H
 #define _FS_CEPH_AUTH_NONE_H
 
+#include <linux/slab.h>
+
 #include "auth.h"
 
 /*

+ 1 - 0
fs/ceph/super.h

@@ -10,6 +10,7 @@
 #include <linux/fs.h>
 #include <linux/mempool.h>
 #include <linux/pagemap.h>
+#include <linux/slab.h>
 #include <linux/wait.h>
 #include <linux/writeback.h>
 #include <linux/slab.h>