staging: lustre: remove remaining libcfs_all.h includes from lustre/lustre
Most of these aren't needed, a few can be simplified. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f076bfb791
commit
8fbb71cb35
@ -34,6 +34,8 @@
|
|||||||
#ifndef LUSTRE_INTENT_H
|
#ifndef LUSTRE_INTENT_H
|
||||||
#define LUSTRE_INTENT_H
|
#define LUSTRE_INTENT_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
/* intent IT_XXX are defined in lustre/include/obd.h */
|
/* intent IT_XXX are defined in lustre/include/obd.h */
|
||||||
|
|
||||||
struct lookup_intent {
|
struct lookup_intent {
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LDLM
|
#define DEBUG_SUBSYSTEM S_LDLM
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <lustre_dlm.h>
|
#include <lustre_dlm.h>
|
||||||
#include <lustre_lib.h>
|
#include <lustre_lib.h>
|
||||||
|
@ -47,7 +47,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LDLM
|
#define DEBUG_SUBSYSTEM S_LDLM
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
#include <lustre_dlm.h>
|
#include <lustre_dlm.h>
|
||||||
#include <obd_support.h>
|
#include <obd_support.h>
|
||||||
#include <obd.h>
|
#include <obd.h>
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LDLM
|
#define DEBUG_SUBSYSTEM S_LDLM
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
#include <obd.h>
|
#include <obd.h>
|
||||||
#include <obd_class.h>
|
#include <obd_class.h>
|
||||||
#include <lustre_dlm.h>
|
#include <lustre_dlm.h>
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LDLM
|
#define DEBUG_SUBSYSTEM S_LDLM
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
#include <lustre_intent.h>
|
#include <lustre_intent.h>
|
||||||
#include <lustre_swab.h>
|
#include <lustre_swab.h>
|
||||||
#include <obd_class.h>
|
#include <obd_class.h>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LDLM
|
#define DEBUG_SUBSYSTEM S_LDLM
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
#include <linux/kthread.h>
|
||||||
#include <linux/sched/mm.h>
|
#include <linux/sched/mm.h>
|
||||||
#include <lustre_dlm.h>
|
#include <lustre_dlm.h>
|
||||||
#include <obd_class.h>
|
#include <obd_class.h>
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
* Author: Oleg Drokin <oleg.drokin@sun.com>
|
* Author: Oleg Drokin <oleg.drokin@sun.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
#include <obd_class.h>
|
#include <obd_class.h>
|
||||||
#include <obd_support.h>
|
#include <obd_support.h>
|
||||||
#include <obd.h>
|
#include <obd.h>
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LLITE
|
#define DEBUG_SUBSYSTEM S_LLITE
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
#include <linux/fs.h>
|
#include <linux/fs.h>
|
||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LLITE
|
#define DEBUG_SUBSYSTEM S_LLITE
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <obd.h>
|
#include <obd.h>
|
||||||
|
|
||||||
#include "llite_internal.h"
|
#include "llite_internal.h"
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define DEBUG_SUBSYSTEM S_LOV
|
#define DEBUG_SUBSYSTEM S_LOV
|
||||||
|
|
||||||
#include <asm/div64.h>
|
#include <asm/div64.h>
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <obd_class.h>
|
#include <obd_class.h>
|
||||||
#include <uapi/linux/lustre/lustre_idl.h>
|
#include <uapi/linux/lustre/lustre_idl.h>
|
||||||
|
@ -33,8 +33,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LOV
|
#define DEBUG_SUBSYSTEM S_LOV
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <obd_class.h>
|
#include <obd_class.h>
|
||||||
#include "lov_internal.h"
|
#include "lov_internal.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LOV
|
#define DEBUG_SUBSYSTEM S_LOV
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <uapi/linux/lustre/lustre_idl.h>
|
#include <uapi/linux/lustre/lustre_idl.h>
|
||||||
#include <uapi/linux/lustre/lustre_ioctl.h>
|
#include <uapi/linux/lustre/lustre_ioctl.h>
|
||||||
|
@ -33,8 +33,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LOV
|
#define DEBUG_SUBSYSTEM S_LOV
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <obd_class.h>
|
#include <obd_class.h>
|
||||||
|
|
||||||
#include "lov_internal.h"
|
#include "lov_internal.h"
|
||||||
|
@ -41,8 +41,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LOV
|
#define DEBUG_SUBSYSTEM S_LOV
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <obd.h>
|
#include <obd.h>
|
||||||
#include "lov_internal.h"
|
#include "lov_internal.h"
|
||||||
|
|
||||||
|
@ -33,8 +33,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_LOV
|
#define DEBUG_SUBSYSTEM S_LOV
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <obd_class.h>
|
#include <obd_class.h>
|
||||||
#include <uapi/linux/lustre/lustre_idl.h>
|
#include <uapi/linux/lustre/lustre_idl.h>
|
||||||
#include "lov_internal.h"
|
#include "lov_internal.h"
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_ECHO
|
#define DEBUG_SUBSYSTEM S_ECHO
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
|
|
||||||
#include <obd.h>
|
#include <obd.h>
|
||||||
#include <obd_support.h>
|
#include <obd_support.h>
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_OSC
|
#define DEBUG_SUBSYSTEM S_OSC
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
|
||||||
/* fid_build_reg_res_name() */
|
/* fid_build_reg_res_name() */
|
||||||
#include <lustre_fid.h>
|
#include <lustre_fid.h>
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#define DEBUG_SUBSYSTEM S_OSC
|
#define DEBUG_SUBSYSTEM S_OSC
|
||||||
|
|
||||||
#include <linux/libcfs/libcfs_all.h>
|
#include <linux/libcfs/libcfs_hash.h>
|
||||||
#include <linux/sched/mm.h>
|
#include <linux/sched/mm.h>
|
||||||
|
|
||||||
#include <lustre_dlm.h>
|
#include <lustre_dlm.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user