mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 07:34:03 -04:00
staging: lustre: move all libcfs_all includes except in lustre/lnet/libcfs/
Again, most of these are not needed. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8fbb71cb35
commit
7059b37ffe
@@ -40,6 +40,8 @@
|
||||
#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),
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include <linux/syscalls.h>
|
||||
#include <net/sock.h>
|
||||
|
||||
#include <linux/libcfs/libcfs_all.h>
|
||||
#include <linux/lnet/lib-lnet.h>
|
||||
|
||||
static int
|
||||
|
||||
@@ -37,7 +37,10 @@
|
||||
|
||||
#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 */
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#define DEBUG_SUBSYSTEM S_LNET
|
||||
|
||||
#include <linux/libcfs/libcfs_all.h>
|
||||
#include <linux/lnet/lib-lnet.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
* 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"
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
* Author: Liang Zhen <liang@whamcloud.com>
|
||||
*/
|
||||
|
||||
#include <linux/libcfs/libcfs_all.h>
|
||||
#include <linux/lnet/lib-lnet.h>
|
||||
#include "timer.h"
|
||||
#include "conrpc.h"
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
* Author: Liang Zhen <liangzhen@clusterfs.com>
|
||||
*/
|
||||
|
||||
#include <linux/libcfs/libcfs_all.h>
|
||||
#include <linux/lnet/lib-lnet.h>
|
||||
#include "console.h"
|
||||
#include "conrpc.h"
|
||||
|
||||
Reference in New Issue
Block a user