]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: lustre: remove remaining libcfs_all.h includes from lustre/lustre
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:42 +0000 (18:36 +0200)
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>
18 files changed:
drivers/staging/lustre/lustre/include/lustre_intent.h
drivers/staging/lustre/lustre/ldlm/l_lock.c
drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
drivers/staging/lustre/lustre/ldlm/ldlm_lib.c
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
drivers/staging/lustre/lustre/llite/glimpse.c
drivers/staging/lustre/lustre/llite/lcommon_cl.c
drivers/staging/lustre/lustre/llite/vvp_object.c
drivers/staging/lustre/lustre/lov/lov_ea.c
drivers/staging/lustre/lustre/lov/lov_merge.c
drivers/staging/lustre/lustre/lov/lov_obd.c
drivers/staging/lustre/lustre/lov/lov_offset.c
drivers/staging/lustre/lustre/lov/lov_pool.c
drivers/staging/lustre/lustre/lov/lov_request.c
drivers/staging/lustre/lustre/obdecho/echo_client.c
drivers/staging/lustre/lustre/osc/osc_lock.c
drivers/staging/lustre/lustre/osc/osc_request.c

index 519e94fc089d1c64e7bb719c2a675a6d53c1fe3e..51e5c0e03872008e7008328c62023790524a4af2 100644 (file)
@@ -34,6 +34,8 @@
 #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 {
index fbeec219a75b193e993623daa417bfd2d7aa1b66..296259aa51e6b1a68f043710165e28795ffccad5 100644 (file)
@@ -32,7 +32,6 @@
  */
 
 #define DEBUG_SUBSYSTEM S_LDLM
-#include <linux/libcfs/libcfs_all.h>
 
 #include <lustre_dlm.h>
 #include <lustre_lib.h>
index a6435cf8924a1c73a3b0073b20fefcd38324a332..4da23ade2bb34b49bab3cd579c2a975d8f19da57 100644 (file)
@@ -47,7 +47,6 @@
  */
 
 #define DEBUG_SUBSYSTEM S_LDLM
-#include <linux/libcfs/libcfs_all.h>
 #include <lustre_dlm.h>
 #include <obd_support.h>
 #include <obd.h>
index d8db751cf5a73adaee43d86dd44b3c17dfe543fd..0aa4f234a4f453cab6b72c00b7609b9e01344b67 100644 (file)
@@ -40,7 +40,6 @@
 
 #define DEBUG_SUBSYSTEM S_LDLM
 
-#include <linux/libcfs/libcfs_all.h>
 #include <obd.h>
 #include <obd_class.h>
 #include <lustre_dlm.h>
index 66702428a914e5f58b3a7641eb701f1b7d258cff..a644d133063b6094e92109442cad2240f34123aa 100644 (file)
@@ -38,7 +38,6 @@
 
 #define DEBUG_SUBSYSTEM S_LDLM
 
-#include <linux/libcfs/libcfs_all.h>
 #include <lustre_intent.h>
 #include <lustre_swab.h>
 #include <obd_class.h>
index 7a1d181760322984fdac682db4636a90c65268a4..b0a29f50c7d69d5d7c81e3f410d60bcabc15cb05 100644 (file)
@@ -38,7 +38,7 @@
 
 #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>
index eddab7d2887b9a91c6ac0a299bc0c24c10e66ce0..ce0d51767da378a2224feea64510e3181ba780b8 100644 (file)
@@ -37,7 +37,6 @@
  *   Author: Oleg Drokin <oleg.drokin@sun.com>
  */
 
-#include <linux/libcfs/libcfs_all.h>
 #include <obd_class.h>
 #include <obd_support.h>
 #include <obd.h>
index de1de3b2ddedf7fb8d6b0fcec7ad3f0a9bbcdb4f..d7ea39ce0cb243b1241042e5833a69ce9e03ae20 100644 (file)
@@ -38,7 +38,6 @@
 
 #define DEBUG_SUBSYSTEM S_LLITE
 
-#include <linux/libcfs/libcfs_all.h>
 #include <linux/fs.h>
 #include <linux/sched.h>
 #include <linux/mm.h>
index 5aedbdbc75b7d0c16a3d87405ff7952a23d55c5d..b2cb51c8f7f4739c2cea1099787ac48f557e30fe 100644 (file)
@@ -37,8 +37,6 @@
 
 #define DEBUG_SUBSYSTEM S_LLITE
 
-#include <linux/libcfs/libcfs_all.h>
-
 #include <obd.h>
 
 #include "llite_internal.h"
index 223fb76c13aa000db01c0c17708e1e67e2c407e0..c80320ab0858c7878b1f38f4418db1d4d7043cfb 100644 (file)
@@ -38,7 +38,6 @@
 #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>
index 8889ea37df187b8abb61d1fc46b7ad40e03f359e..006717cf7a41b431d031100ab097322bdc6fbfab 100644 (file)
@@ -33,8 +33,6 @@
 
 #define DEBUG_SUBSYSTEM S_LOV
 
-#include <linux/libcfs/libcfs_all.h>
-
 #include <obd_class.h>
 #include "lov_internal.h"
 
index ad150f07ea19e3aa0bbd5b38e62e86cf291f45fc..7123972d4d5bf711fdde9f3bd7e08b91cebc3f03 100644 (file)
@@ -39,7 +39,6 @@
  */
 
 #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>
index ba070a6ef6071f006fc96f05d77900d0dc0b0d45..a5f00f6ec347f430d2d564f35927853760216a94 100644 (file)
@@ -33,8 +33,6 @@
 
 #define DEBUG_SUBSYSTEM S_LOV
 
-#include <linux/libcfs/libcfs_all.h>
-
 #include <obd_class.h>
 
 #include "lov_internal.h"
index f00df5e24db27fc3241f57d9ae2741d4a0f1a2dc..6d2dec9266b67b422e14d0126e8460ffcb253a5f 100644 (file)
@@ -41,8 +41,6 @@
 
 #define DEBUG_SUBSYSTEM S_LOV
 
-#include <linux/libcfs/libcfs_all.h>
-
 #include <obd.h>
 #include "lov_internal.h"
 
index 6bc2896876dbb506c950b10a1ba520884b0d386b..cb8567f20ea77ebf68600bdc12ad8748f3f5f753 100644 (file)
@@ -33,8 +33,6 @@
 
 #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"
index c417a0cd1c169d8bbf62c33495340d57a913e3fd..b692e76e71089d3bef2db5d6d835ec3a86ab7b7f 100644 (file)
@@ -32,7 +32,6 @@
  */
 
 #define DEBUG_SUBSYSTEM S_ECHO
-#include <linux/libcfs/libcfs_all.h>
 
 #include <obd.h>
 #include <obd_support.h>
index 388eb97e154822f73ec1b1146c8a2295a5f0e385..d93d33dc8dc4d6234de829323de759f9cc464660 100644 (file)
@@ -38,7 +38,6 @@
 
 #define DEBUG_SUBSYSTEM S_OSC
 
-#include <linux/libcfs/libcfs_all.h>
 /* fid_build_reg_res_name() */
 #include <lustre_fid.h>
 
index 72d27856f35501c567ab177ef4f4e7fc96c56b5a..61ef6c8d7a121d577e9e7160e97be13a3b70e118 100644 (file)
@@ -33,7 +33,7 @@
 
 #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>