Ver Fonte

ceph: add missing #includes

Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil há 15 anos atrás
pai
commit
d45d0d970f
3 ficheiros alterados com 4 adições e 0 exclusões
  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>