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>
#ifndef LUSTRE_INTENT_H
#define LUSTRE_INTENT_H
+#include <linux/types.h>
+
/* intent IT_XXX are defined in lustre/include/obd.h */
struct lookup_intent {
*/
#define DEBUG_SUBSYSTEM S_LDLM
-#include <linux/libcfs/libcfs_all.h>
#include <lustre_dlm.h>
#include <lustre_lib.h>
*/
#define DEBUG_SUBSYSTEM S_LDLM
-#include <linux/libcfs/libcfs_all.h>
#include <lustre_dlm.h>
#include <obd_support.h>
#include <obd.h>
#define DEBUG_SUBSYSTEM S_LDLM
-#include <linux/libcfs/libcfs_all.h>
#include <obd.h>
#include <obd_class.h>
#include <lustre_dlm.h>
#define DEBUG_SUBSYSTEM S_LDLM
-#include <linux/libcfs/libcfs_all.h>
#include <lustre_intent.h>
#include <lustre_swab.h>
#include <obd_class.h>
#define DEBUG_SUBSYSTEM S_LDLM
-#include <linux/libcfs/libcfs_all.h>
+#include <linux/kthread.h>
#include <linux/sched/mm.h>
#include <lustre_dlm.h>
#include <obd_class.h>
* Author: Oleg Drokin <oleg.drokin@sun.com>
*/
-#include <linux/libcfs/libcfs_all.h>
#include <obd_class.h>
#include <obd_support.h>
#include <obd.h>
#define DEBUG_SUBSYSTEM S_LLITE
-#include <linux/libcfs/libcfs_all.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/mm.h>
#define DEBUG_SUBSYSTEM S_LLITE
-#include <linux/libcfs/libcfs_all.h>
-
#include <obd.h>
#include "llite_internal.h"
#define DEBUG_SUBSYSTEM S_LOV
#include <asm/div64.h>
-#include <linux/libcfs/libcfs_all.h>
#include <obd_class.h>
#include <uapi/linux/lustre/lustre_idl.h>
#define DEBUG_SUBSYSTEM S_LOV
-#include <linux/libcfs/libcfs_all.h>
-
#include <obd_class.h>
#include "lov_internal.h"
*/
#define DEBUG_SUBSYSTEM S_LOV
-#include <linux/libcfs/libcfs_all.h>
#include <uapi/linux/lustre/lustre_idl.h>
#include <uapi/linux/lustre/lustre_ioctl.h>
#define DEBUG_SUBSYSTEM S_LOV
-#include <linux/libcfs/libcfs_all.h>
-
#include <obd_class.h>
#include "lov_internal.h"
#define DEBUG_SUBSYSTEM S_LOV
-#include <linux/libcfs/libcfs_all.h>
-
#include <obd.h>
#include "lov_internal.h"
#define DEBUG_SUBSYSTEM S_LOV
-#include <linux/libcfs/libcfs_all.h>
-
#include <obd_class.h>
#include <uapi/linux/lustre/lustre_idl.h>
#include "lov_internal.h"
*/
#define DEBUG_SUBSYSTEM S_ECHO
-#include <linux/libcfs/libcfs_all.h>
#include <obd.h>
#include <obd_support.h>
#define DEBUG_SUBSYSTEM S_OSC
-#include <linux/libcfs/libcfs_all.h>
/* fid_build_reg_res_name() */
#include <lustre_fid.h>
#define DEBUG_SUBSYSTEM S_OSC
-#include <linux/libcfs/libcfs_all.h>
+#include <linux/libcfs/libcfs_hash.h>
#include <linux/sched/mm.h>
#include <lustre_dlm.h>