staging: lustre: remove libcfs_all.h from includes lustre/lnet
Some of these include files didn't need to include libcfs_all.h. A couple did so replace with just the base include files needed. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7a83b3a19a
commit
fd998c02dc
@ -34,7 +34,13 @@
|
||||
#ifndef __LIBCFS_TRACEFILE_H__
|
||||
#define __LIBCFS_TRACEFILE_H__
|
||||
|
||||
#include <linux/libcfs/libcfs_all.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/cache.h>
|
||||
#include <linux/threads.h>
|
||||
#include <linux/limits.h>
|
||||
#include <linux/smp.h>
|
||||
#include <linux/libcfs/libcfs.h>
|
||||
|
||||
enum cfs_trace_buf_type {
|
||||
CFS_TCD_TYPE_PROC = 0,
|
||||
|
@ -40,7 +40,6 @@
|
||||
#ifndef __LST_CONRPC_H__
|
||||
#define __LST_CONRPC_H__
|
||||
|
||||
#include <linux/libcfs/libcfs_all.h>
|
||||
#include <linux/lnet/lib-types.h>
|
||||
#include <uapi/linux/lnet/lnetst.h>
|
||||
#include "rpc.h"
|
||||
|
@ -40,7 +40,6 @@
|
||||
#ifndef __LST_CONSOLE_H__
|
||||
#define __LST_CONSOLE_H__
|
||||
|
||||
#include <linux/libcfs/libcfs_all.h>
|
||||
#include <linux/lnet/lib-types.h>
|
||||
#include <uapi/linux/lnet/lnetst.h>
|
||||
#include "selftest.h"
|
||||
|
@ -39,7 +39,6 @@
|
||||
|
||||
#define LNET_ONLY
|
||||
|
||||
#include <linux/libcfs/libcfs_all.h>
|
||||
#include <linux/lnet/lib-lnet.h>
|
||||
#include <linux/lnet/lib-types.h>
|
||||
#include <uapi/linux/lnet/lnetst.h>
|
||||
|
Loading…
Reference in New Issue
Block a user