]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: lustre: remove libcfs_all.h from includes lustre/lnet
authorNeilBrown <neilb@suse.com>
Mon, 21 May 2018 04:35:13 +0000 (14:35 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:36:18 +0000 (18:36 +0200)
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>
drivers/staging/lustre/lnet/libcfs/tracefile.h
drivers/staging/lustre/lnet/selftest/conrpc.h
drivers/staging/lustre/lnet/selftest/console.h
drivers/staging/lustre/lnet/selftest/selftest.h

index bbad0746f221aadf909ab040988077fb02f18717..0608240d897ff2f97d19a2bf324942dfee47c913 100644 (file)
 #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,
index 29e743716bd659f28c615f29965d012ce951dba5..ce2f92d04838d79e6de9cd01913affeb254be7c3 100644 (file)
@@ -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"
index 59e5ff9f6979699c52c41ecd42dc91dbfc51e977..2826205e36a14a0487282499d6c12d34727b388f 100644 (file)
@@ -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"
index adf18515cb73ef896eea04358fe6108ed18e01b4..8737fa96b192d615c80811a11cd5babdea0d9cd0 100644 (file)
@@ -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>