Again, most of these are not needed.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
#ifndef __LIBCFS_STRING_H__
#define __LIBCFS_STRING_H__
+#include <linux/mm.h>
+
/* libcfs_string.c */
/* Convert a text string to a bitmask */
int cfs_str2mask(const char *str, const char *(*bit2str)(int bit),
#include <linux/syscalls.h>
#include <net/sock.h>
-#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h>
static int
#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>
/* max value for numeric network address */
#define DEBUG_SUBSYSTEM S_LNET
-#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h>
/*
* Author: Liang Zhen <liangzhen@clusterfs.com>
*/
-#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h>
#include <uapi/linux/lnet/lnetst.h>
#include "console.h"
* Author: Liang Zhen <liang@whamcloud.com>
*/
-#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h>
#include "timer.h"
#include "conrpc.h"
* Author: Liang Zhen <liangzhen@clusterfs.com>
*/
-#include <linux/libcfs/libcfs_all.h>
#include <linux/lnet/lib-lnet.h>
#include "console.h"
#include "conrpc.h"