aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lnet/libcfs/hash.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-05-21 14:35:13 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-25 18:36:43 +0200
commit8e5566ac7300eb1f4268de22d616937bfe677db3 (patch)
tree13f625bcbdeede2f4621deaca5bc86458b42f7b2 /drivers/staging/lustre/lnet/libcfs/hash.c
parentstaging: lustre: move all libcfs_all includes except in lustre/lnet/libcfs/ (diff)
downloadlinux-dev-8e5566ac7300eb1f4268de22d616937bfe677db3.tar.xz
linux-dev-8e5566ac7300eb1f4268de22d616937bfe677db3.zip
staging: lustre: remove libcfs_all.h
In the remaining files that include libcfs_all.h, replace it with other include files as necessary, then remove libcfs_all.h 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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lnet/libcfs/hash.c b/drivers/staging/lustre/lnet/libcfs/hash.c
index 88a853f64b89..48be66f0d654 100644
--- a/drivers/staging/lustre/lnet/libcfs/hash.c
+++ b/drivers/staging/lustre/lnet/libcfs/hash.c
@@ -105,8 +105,9 @@
*/
#include <linux/seq_file.h>
#include <linux/log2.h>
-
-#include <linux/libcfs/libcfs_all.h>
+#include <linux/slab.h>
+#include <linux/mm.h>
+#include <linux/libcfs/libcfs_hash.h>
#if CFS_HASH_DEBUG_LEVEL >= CFS_HASH_DEBUG_1
static unsigned int warn_on_depth = 8;