Commit 8f0ca7fc authored by NeilBrown's avatar NeilBrown Committed by Greg Kroah-Hartman

staging: lustre: remove libcfs_all.h from remaining .h files.

Now no *.h files include libcfs_all.h - only *.c files.
Signed-off-by: default avatarNeilBrown <neilb@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 73d65c8d
...@@ -40,6 +40,9 @@ ...@@ -40,6 +40,9 @@
#define __LIBCFS_HASH_H__ #define __LIBCFS_HASH_H__
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <linux/libcfs/libcfs.h>
/* /*
* Knuth recommends primes in approximately golden ratio to the maximum * Knuth recommends primes in approximately golden ratio to the maximum
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#define __FID_INTERNAL_H #define __FID_INTERNAL_H
#include <uapi/linux/lustre/lustre_idl.h> #include <uapi/linux/lustre/lustre_idl.h>
#include <linux/libcfs/libcfs_all.h>
/* Functions used internally in module. */ /* Functions used internally in module. */
......
...@@ -59,7 +59,6 @@ ...@@ -59,7 +59,6 @@
#include <uapi/linux/lustre/lustre_idl.h> #include <uapi/linux/lustre/lustre_idl.h>
#include <linux/libcfs/libcfs_all.h>
#include <lustre_req_layout.h> #include <lustre_req_layout.h>
#include <lustre_fld.h> #include <lustre_fld.h>
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <linux/statfs.h> #include <linux/statfs.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/random.h>
#include <uapi/linux/lustre/lustre_ioctl.h> #include <uapi/linux/lustre/lustre_ioctl.h>
#include <lustre_ha.h> #include <lustre_ha.h>
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
*/ */
#include "range_lock.h" #include "range_lock.h"
#include <uapi/linux/lustre/lustre_idl.h> #include <uapi/linux/lustre/lustre_idl.h>
#include <linux/libcfs/libcfs.h>
/** /**
* Initialize a range lock tree * Initialize a range lock tree
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#ifndef _RANGE_LOCK_H #ifndef _RANGE_LOCK_H
#define _RANGE_LOCK_H #define _RANGE_LOCK_H
#include <linux/libcfs/libcfs_all.h> #include <linux/spinlock.h>
#include <interval_tree.h> #include <interval_tree.h>
struct range_lock { struct range_lock {
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include <linux/libcfs/libcfs_hash.h>
#include <obd.h> #include <obd.h>
#include "llite_internal.h" #include "llite_internal.h"
#include "vvp_internal.h" #include "vvp_internal.h"
......
...@@ -43,8 +43,6 @@ ...@@ -43,8 +43,6 @@
#ifndef LOV_CL_INTERNAL_H #ifndef LOV_CL_INTERNAL_H
#define LOV_CL_INTERNAL_H #define LOV_CL_INTERNAL_H
#include <linux/libcfs/libcfs_all.h>
#include <obd.h> #include <obd.h>
#include <cl_object.h> #include <cl_object.h>
#include "lov_internal.h" #include "lov_internal.h"
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#ifndef _MGC_INTERNAL_H #ifndef _MGC_INTERNAL_H
#define _MGC_INTERNAL_H #define _MGC_INTERNAL_H
#include <linux/libcfs/libcfs_all.h>
#include <lustre_lib.h> #include <lustre_lib.h>
#include <lustre_dlm.h> #include <lustre_dlm.h>
#include <lustre_log.h> #include <lustre_log.h>
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#define D_MGC D_CONFIG /*|D_WARNING*/ #define D_MGC D_CONFIG /*|D_WARNING*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/random.h>
#include <lprocfs_status.h> #include <lprocfs_status.h>
#include <lustre_dlm.h> #include <lustre_dlm.h>
......
...@@ -43,8 +43,6 @@ ...@@ -43,8 +43,6 @@
#ifndef OSC_CL_INTERNAL_H #ifndef OSC_CL_INTERNAL_H
#define OSC_CL_INTERNAL_H #define OSC_CL_INTERNAL_H
#include <linux/libcfs/libcfs_all.h>
#include <obd.h> #include <obd.h>
/* osc_build_res_name() */ /* osc_build_res_name() */
#include <cl_object.h> #include <cl_object.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