Commit 7059b37f authored by NeilBrown's avatar NeilBrown Committed by Greg Kroah-Hartman

staging: lustre: move all libcfs_all includes except in lustre/lnet/libcfs/

Again, most of these are not needed.
Signed-off-by: default avatarNeilBrown <neilb@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8fbb71cb
...@@ -40,6 +40,8 @@ ...@@ -40,6 +40,8 @@
#ifndef __LIBCFS_STRING_H__ #ifndef __LIBCFS_STRING_H__
#define __LIBCFS_STRING_H__ #define __LIBCFS_STRING_H__
#include <linux/mm.h>
/* libcfs_string.c */ /* libcfs_string.c */
/* Convert a text string to a bitmask */ /* Convert a text string to a bitmask */
int cfs_str2mask(const char *str, const char *(*bit2str)(int bit), int cfs_str2mask(const char *str, const char *(*bit2str)(int bit),
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#include <linux/syscalls.h> #include <linux/syscalls.h>
#include <net/sock.h> #include <net/sock.h>
#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h> #include <linux/lnet/lib-lnet.h>
static int static int
......
...@@ -37,7 +37,10 @@ ...@@ -37,7 +37,10 @@
#define DEBUG_SUBSYSTEM S_LNET #define DEBUG_SUBSYSTEM S_LNET
#include <linux/libcfs/libcfs_all.h> #include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/libcfs/libcfs.h>
#include <linux/libcfs/libcfs_string.h>
#include <uapi/linux/lnet/nidstr.h> #include <uapi/linux/lnet/nidstr.h>
/* max value for numeric network address */ /* max value for numeric network address */
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#define DEBUG_SUBSYSTEM S_LNET #define DEBUG_SUBSYSTEM S_LNET
#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h> #include <linux/lnet/lib-lnet.h>
/* /*
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
* Author: Liang Zhen <liangzhen@clusterfs.com> * Author: Liang Zhen <liangzhen@clusterfs.com>
*/ */
#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h> #include <linux/lnet/lib-lnet.h>
#include <uapi/linux/lnet/lnetst.h> #include <uapi/linux/lnet/lnetst.h>
#include "console.h" #include "console.h"
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
* Author: Liang Zhen <liang@whamcloud.com> * Author: Liang Zhen <liang@whamcloud.com>
*/ */
#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h> #include <linux/lnet/lib-lnet.h>
#include "timer.h" #include "timer.h"
#include "conrpc.h" #include "conrpc.h"
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
* Author: Liang Zhen <liangzhen@clusterfs.com> * Author: Liang Zhen <liangzhen@clusterfs.com>
*/ */
#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h> #include <linux/lnet/lib-lnet.h>
#include "console.h" #include "console.h"
#include "conrpc.h" #include "conrpc.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment