diff options
author | NeilBrown <neilb@suse.com> | 2018-05-21 14:35:13 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:34:03 +0200 |
commit | e6eafdb9f9b9c77562bfbde2eb93d2e43aa66392 (patch) | |
tree | 9cbe2f8308f17a463a45d83bda44ffde418e8f09 /drivers/staging/lustre/lnet/libcfs/hash.c | |
parent | staging: lustre: discard libcfs_prim.h (diff) | |
download | linux-dev-e6eafdb9f9b9c77562bfbde2eb93d2e43aa66392.tar.xz linux-dev-e6eafdb9f9b9c77562bfbde2eb93d2e43aa66392.zip |
staging: lustre: start moving includes out of libcfs.h
Lots of places include libcfs.h, and it includes lots of other include
files. Many of these aren't needed in many places. It is tidier and
better documentation to just include what is needed.
So remove all the includes from libcfs.h and create libcfs_all.h which
contains them. Then change every reference to libcfs.h to instead
include libcfs_all.h
Next several patches will remove that from various files
in small batches
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/libcfs/hash.c')
-rw-r--r-- | drivers/staging/lustre/lnet/libcfs/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/libcfs/hash.c b/drivers/staging/lustre/lnet/libcfs/hash.c index f7b3c9306456..88a853f64b89 100644 --- a/drivers/staging/lustre/lnet/libcfs/hash.c +++ b/drivers/staging/lustre/lnet/libcfs/hash.c @@ -106,7 +106,7 @@ #include <linux/seq_file.h> #include <linux/log2.h> -#include <linux/libcfs/libcfs.h> +#include <linux/libcfs/libcfs_all.h> #if CFS_HASH_DEBUG_LEVEL >= CFS_HASH_DEBUG_1 static unsigned int warn_on_depth = 8; |