staging: lustre: remove libcfs_all from ptlrpc

Some files didn't need it at all, others just needed
one or two includes.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
NeilBrown 2018-05-21 14:35:13 +10:00 committed by Greg Kroah-Hartman
parent 8f0ca7fca3
commit 0922c0084b
14 changed files with 15 additions and 18 deletions

View File

@ -26,7 +26,6 @@
* Copyright (c) 2013, Intel Corporation.
*/
#include <linux/libcfs/libcfs_all.h>
#include <lustre_errno.h>
/*

View File

@ -33,7 +33,7 @@
#define DEBUG_SUBSYSTEM S_RPC
#include <linux/libcfs/libcfs_all.h>
#include <linux/libcfs/libcfs.h>
# ifdef __mips64__
# include <linux/kernel.h>
# endif

View File

@ -39,8 +39,6 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <linux/libcfs/libcfs_all.h>
#include <obd_class.h>
#include <lustre_log.h>
#include <lustre_net.h>

View File

@ -43,8 +43,6 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <linux/libcfs/libcfs_all.h>
#include <obd_class.h>
#include <lustre_log.h>
#include <linux/list.h>

View File

@ -37,11 +37,12 @@
*/
#define DEBUG_SUBSYSTEM S_RPC
#include <linux/libcfs/libcfs.h>
#include <linux/libcfs/libcfs_cpu.h>
#include <obd_support.h>
#include <obd_class.h>
#include <lustre_net.h>
#include <lprocfs_status.h>
#include <linux/libcfs/libcfs_all.h>
#include "ptlrpc_internal.h"
/**

View File

@ -44,9 +44,10 @@
*/
#define DEBUG_SUBSYSTEM S_RPC
#include <linux/libcfs/libcfs.h>
#include <linux/libcfs/libcfs_cpu.h>
#include <obd_support.h>
#include <obd_class.h>
#include <linux/libcfs/libcfs_all.h>
#include "ptlrpc_internal.h"
/**

View File

@ -41,8 +41,6 @@
#define DEBUG_SUBSYSTEM S_RPC
#include <linux/libcfs/libcfs_all.h>
#include <uapi/linux/lustre/lustre_fiemap.h>
#include <llog_swab.h>

View File

@ -52,8 +52,10 @@
#define DEBUG_SUBSYSTEM S_RPC
#include <linux/libcfs/libcfs_all.h>
#include <linux/kthread.h>
#include <linux/libcfs/libcfs.h>
#include <linux/libcfs/libcfs_cpu.h>
#include <linux/libcfs/libcfs_string.h>
#include <lustre_net.h>
#include <lustre_lib.h>
#include <lustre_ha.h>

View File

@ -36,7 +36,7 @@
*/
#define DEBUG_SUBSYSTEM S_RPC
#include <linux/libcfs/libcfs_all.h>
#include <linux/libcfs/libcfs.h>
#include <obd_support.h>
#include <lustre_ha.h>

View File

@ -37,7 +37,7 @@
#define DEBUG_SUBSYSTEM S_SEC
#include <linux/libcfs/libcfs_all.h>
#include <linux/libcfs/libcfs.h>
#include <linux/crypto.h>
#include <linux/cred.h>
#include <linux/key.h>

View File

@ -37,7 +37,7 @@
#define DEBUG_SUBSYSTEM S_SEC
#include <linux/libcfs/libcfs_all.h>
#include <linux/libcfs/libcfs.h>
#include <obd.h>
#include <obd_cksum.h>

View File

@ -33,7 +33,7 @@
#define DEBUG_SUBSYSTEM S_SEC
#include <linux/libcfs/libcfs_all.h>
#include <linux/libcfs/libcfs.h>
#include <linux/crypto.h>
#include <linux/key.h>

View File

@ -37,7 +37,7 @@
#define DEBUG_SUBSYSTEM S_SEC
#include <linux/libcfs/libcfs_all.h>
#include <linux/libcfs/libcfs.h>
#include <obd_support.h>
#include <obd_class.h>

View File

@ -35,7 +35,7 @@
#define DEBUG_SUBSYSTEM S_SEC
#include <linux/libcfs/libcfs_all.h>
#include <linux/libcfs/libcfs.h>
#include <linux/crypto.h>
#include <obd.h>