From 8f0ca7fca3ab4ab69b19e68e31f5c2e455cdc10d Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 21 May 2018 14:35:13 +1000 Subject: [PATCH] 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(-) diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h index 0506f1d..be31595 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 3d0003b2..14569e9 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 9485c3d..e1d6aaa 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 545a47f..1bc0782 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 cc9565f..008a887 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 4af8781..9ebac09 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 8bda51f..31dc3c0 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 d584905..e4f7621 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 e402898..9541892 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 36c3f13..32df804 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 29f3184..2d3cba1 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 -- 2.7.4