From 8f0ca7fca3ab4ab69b19e68e31f5c2e455cdc10d Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 21 May 2018 14:35:13 +1000 Subject: staging: lustre: remove libcfs_all.h from remaining .h files. Now no *.h files include libcfs_all.h - only *.c files. Signed-off-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h | 3 +++ drivers/staging/lustre/lustre/fid/fid_internal.h | 1 - drivers/staging/lustre/lustre/fld/fld_internal.h | 1 - drivers/staging/lustre/lustre/llite/llite_lib.c | 1 + drivers/staging/lustre/lustre/llite/range_lock.c | 1 + drivers/staging/lustre/lustre/llite/range_lock.h | 2 +- drivers/staging/lustre/lustre/llite/vvp_dev.c | 1 + drivers/staging/lustre/lustre/lov/lov_cl_internal.h | 2 -- drivers/staging/lustre/lustre/mgc/mgc_internal.h | 1 - drivers/staging/lustre/lustre/mgc/mgc_request.c | 1 + drivers/staging/lustre/lustre/osc/osc_cl_internal.h | 2 -- 11 files changed, 8 insertions(+), 8 deletions(-) (limited to 'drivers/staging') diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h index 0506f1d45757..be315958a4b3 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h @@ -40,6 +40,9 @@ #define __LIBCFS_HASH_H__ #include +#include +#include +#include /* * Knuth recommends primes in approximately golden ratio to the maximum diff --git a/drivers/staging/lustre/lustre/fid/fid_internal.h b/drivers/staging/lustre/lustre/fid/fid_internal.h index 3d0003b2fb4b..14569e969a31 100644 --- a/drivers/staging/lustre/lustre/fid/fid_internal.h +++ b/drivers/staging/lustre/lustre/fid/fid_internal.h @@ -38,7 +38,6 @@ #define __FID_INTERNAL_H #include -#include /* Functions used internally in module. */ diff --git a/drivers/staging/lustre/lustre/fld/fld_internal.h b/drivers/staging/lustre/lustre/fld/fld_internal.h index 9485c3d31559..e1d6aaa5c2b4 100644 --- a/drivers/staging/lustre/lustre/fld/fld_internal.h +++ b/drivers/staging/lustre/lustre/fld/fld_internal.h @@ -59,7 +59,6 @@ #include -#include #include #include diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c index 545a47fd78c1..1bc0782feae3 100644 --- a/drivers/staging/lustre/lustre/llite/llite_lib.c +++ b/drivers/staging/lustre/lustre/llite/llite_lib.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include diff --git a/drivers/staging/lustre/lustre/llite/range_lock.c b/drivers/staging/lustre/lustre/llite/range_lock.c index cc9565f6bfe2..008a8874118d 100644 --- a/drivers/staging/lustre/lustre/llite/range_lock.c +++ b/drivers/staging/lustre/lustre/llite/range_lock.c @@ -36,6 +36,7 @@ */ #include "range_lock.h" #include +#include /** * Initialize a range lock tree diff --git a/drivers/staging/lustre/lustre/llite/range_lock.h b/drivers/staging/lustre/lustre/llite/range_lock.h index 4af8781c71d7..9ebac09160f2 100644 --- a/drivers/staging/lustre/lustre/llite/range_lock.h +++ b/drivers/staging/lustre/lustre/llite/range_lock.h @@ -37,7 +37,7 @@ #ifndef _RANGE_LOCK_H #define _RANGE_LOCK_H -#include +#include #include struct range_lock { diff --git a/drivers/staging/lustre/lustre/llite/vvp_dev.c b/drivers/staging/lustre/lustre/llite/vvp_dev.c index 8bda51fd97a2..31dc3c0ade01 100644 --- a/drivers/staging/lustre/lustre/llite/vvp_dev.c +++ b/drivers/staging/lustre/lustre/llite/vvp_dev.c @@ -38,6 +38,7 @@ #define DEBUG_SUBSYSTEM S_LLITE +#include #include #include "llite_internal.h" #include "vvp_internal.h" diff --git a/drivers/staging/lustre/lustre/lov/lov_cl_internal.h b/drivers/staging/lustre/lustre/lov/lov_cl_internal.h index d5849051319b..e4f762137a4a 100644 --- a/drivers/staging/lustre/lustre/lov/lov_cl_internal.h +++ b/drivers/staging/lustre/lustre/lov/lov_cl_internal.h @@ -43,8 +43,6 @@ #ifndef LOV_CL_INTERNAL_H #define LOV_CL_INTERNAL_H -#include - #include #include #include "lov_internal.h" diff --git a/drivers/staging/lustre/lustre/mgc/mgc_internal.h b/drivers/staging/lustre/lustre/mgc/mgc_internal.h index e402898cb28b..9541892b67c7 100644 --- a/drivers/staging/lustre/lustre/mgc/mgc_internal.h +++ b/drivers/staging/lustre/lustre/mgc/mgc_internal.h @@ -34,7 +34,6 @@ #ifndef _MGC_INTERNAL_H #define _MGC_INTERNAL_H -#include #include #include #include diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c index 36c3f13ab9f4..32df804614d3 100644 --- a/drivers/staging/lustre/lustre/mgc/mgc_request.c +++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c @@ -39,6 +39,7 @@ #define D_MGC D_CONFIG /*|D_WARNING*/ #include +#include #include #include diff --git a/drivers/staging/lustre/lustre/osc/osc_cl_internal.h b/drivers/staging/lustre/lustre/osc/osc_cl_internal.h index 29f318403328..2d3cba16ef34 100644 --- a/drivers/staging/lustre/lustre/osc/osc_cl_internal.h +++ b/drivers/staging/lustre/lustre/osc/osc_cl_internal.h @@ -43,8 +43,6 @@ #ifndef OSC_CL_INTERNAL_H #define OSC_CL_INTERNAL_H -#include - #include /* osc_build_res_name() */ #include -- cgit v1.2.3