mirror of https://gitee.com/openkylin/linux.git
staging: lustre: fld: add include path to Makefile
Rationalize include paths in the fld source code files. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3bca1c1754
commit
b2a0f9e071
|
@ -1,2 +1,5 @@
|
|||
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include
|
||||
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include/
|
||||
|
||||
obj-$(CONFIG_LUSTRE_FS) += fld.o
|
||||
fld-y := fld_request.o fld_cache.o lproc_fld.o
|
||||
|
|
|
@ -39,18 +39,18 @@
|
|||
|
||||
#define DEBUG_SUBSYSTEM S_FLD
|
||||
|
||||
#include "../../include/linux/libcfs/libcfs.h"
|
||||
#include <linux/libcfs/libcfs.h>
|
||||
#include <linux/module.h>
|
||||
#include <asm/div64.h>
|
||||
|
||||
#include "../include/obd.h"
|
||||
#include "../include/obd_class.h"
|
||||
#include "../../include/uapi/linux/lustre/lustre_ver.h"
|
||||
#include "../include/obd_support.h"
|
||||
#include "../include/lprocfs_status.h"
|
||||
#include <obd.h>
|
||||
#include <obd_class.h>
|
||||
#include <uapi/linux/lustre/lustre_ver.h>
|
||||
#include <obd_support.h>
|
||||
#include <lprocfs_status.h>
|
||||
|
||||
#include "../include/lustre_req_layout.h"
|
||||
#include "../include/lustre_fld.h"
|
||||
#include <lustre_req_layout.h>
|
||||
#include <lustre_fld.h>
|
||||
#include "fld_internal.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -56,11 +56,11 @@
|
|||
#ifndef __FLD_INTERNAL_H
|
||||
#define __FLD_INTERNAL_H
|
||||
|
||||
#include "../../include/uapi/linux/lustre/lustre_idl.h"
|
||||
#include <uapi/linux/lustre/lustre_idl.h>
|
||||
|
||||
#include "../../include/linux/libcfs/libcfs.h"
|
||||
#include "../include/lustre_req_layout.h"
|
||||
#include "../include/lustre_fld.h"
|
||||
#include <linux/libcfs/libcfs.h>
|
||||
#include <lustre_req_layout.h>
|
||||
#include <lustre_fld.h>
|
||||
|
||||
struct fld_stats {
|
||||
__u64 fst_count;
|
||||
|
|
|
@ -38,19 +38,19 @@
|
|||
|
||||
#define DEBUG_SUBSYSTEM S_FLD
|
||||
|
||||
#include "../../include/linux/libcfs/libcfs.h"
|
||||
#include <linux/libcfs/libcfs.h>
|
||||
#include <linux/module.h>
|
||||
#include <asm/div64.h>
|
||||
|
||||
#include "../include/obd.h"
|
||||
#include "../include/obd_class.h"
|
||||
#include "../../include/uapi/linux/lustre/lustre_ver.h"
|
||||
#include "../include/obd_support.h"
|
||||
#include "../include/lprocfs_status.h"
|
||||
#include <obd.h>
|
||||
#include <obd_class.h>
|
||||
#include <uapi/linux/lustre/lustre_ver.h>
|
||||
#include <obd_support.h>
|
||||
#include <lprocfs_status.h>
|
||||
|
||||
#include "../include/lustre_req_layout.h"
|
||||
#include "../include/lustre_fld.h"
|
||||
#include "../include/lustre_mdc.h"
|
||||
#include <lustre_req_layout.h>
|
||||
#include <lustre_fld.h>
|
||||
#include <lustre_mdc.h>
|
||||
#include "fld_internal.h"
|
||||
|
||||
static int fld_rrb_hash(struct lu_client_fld *fld, u64 seq)
|
||||
|
|
|
@ -39,15 +39,15 @@
|
|||
|
||||
#define DEBUG_SUBSYSTEM S_FLD
|
||||
|
||||
#include "../../include/linux/libcfs/libcfs.h"
|
||||
#include <linux/libcfs/libcfs.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#include "../include/obd.h"
|
||||
#include "../include/obd_class.h"
|
||||
#include "../include/obd_support.h"
|
||||
#include "../include/lustre_req_layout.h"
|
||||
#include "../include/lustre_fld.h"
|
||||
#include "../include/lustre_fid.h"
|
||||
#include <obd.h>
|
||||
#include <obd_class.h>
|
||||
#include <obd_support.h>
|
||||
#include <lustre_req_layout.h>
|
||||
#include <lustre_fld.h>
|
||||
#include <lustre_fid.h>
|
||||
#include "fld_internal.h"
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue