Commit b2a0f9e0 authored by James Simmons's avatar James Simmons Committed by Greg Kroah-Hartman

staging: lustre: fld: add include path to Makefile

Rationalize include paths in the fld source code files.
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3bca1c17
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 obj-$(CONFIG_LUSTRE_FS) += fld.o
fld-y := fld_request.o fld_cache.o lproc_fld.o fld-y := fld_request.o fld_cache.o lproc_fld.o
...@@ -39,18 +39,18 @@ ...@@ -39,18 +39,18 @@
#define DEBUG_SUBSYSTEM S_FLD #define DEBUG_SUBSYSTEM S_FLD
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include <linux/module.h> #include <linux/module.h>
#include <asm/div64.h> #include <asm/div64.h>
#include "../include/obd.h" #include <obd.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../../include/uapi/linux/lustre/lustre_ver.h" #include <uapi/linux/lustre/lustre_ver.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "../include/lustre_req_layout.h" #include <lustre_req_layout.h>
#include "../include/lustre_fld.h" #include <lustre_fld.h>
#include "fld_internal.h" #include "fld_internal.h"
/** /**
......
...@@ -56,11 +56,11 @@ ...@@ -56,11 +56,11 @@
#ifndef __FLD_INTERNAL_H #ifndef __FLD_INTERNAL_H
#define __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 <linux/libcfs/libcfs.h>
#include "../include/lustre_req_layout.h" #include <lustre_req_layout.h>
#include "../include/lustre_fld.h" #include <lustre_fld.h>
struct fld_stats { struct fld_stats {
__u64 fst_count; __u64 fst_count;
......
...@@ -38,19 +38,19 @@ ...@@ -38,19 +38,19 @@
#define DEBUG_SUBSYSTEM S_FLD #define DEBUG_SUBSYSTEM S_FLD
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include <linux/module.h> #include <linux/module.h>
#include <asm/div64.h> #include <asm/div64.h>
#include "../include/obd.h" #include <obd.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../../include/uapi/linux/lustre/lustre_ver.h" #include <uapi/linux/lustre/lustre_ver.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "../include/lustre_req_layout.h" #include <lustre_req_layout.h>
#include "../include/lustre_fld.h" #include <lustre_fld.h>
#include "../include/lustre_mdc.h" #include <lustre_mdc.h>
#include "fld_internal.h" #include "fld_internal.h"
static int fld_rrb_hash(struct lu_client_fld *fld, u64 seq) static int fld_rrb_hash(struct lu_client_fld *fld, u64 seq)
......
...@@ -39,15 +39,15 @@ ...@@ -39,15 +39,15 @@
#define DEBUG_SUBSYSTEM S_FLD #define DEBUG_SUBSYSTEM S_FLD
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include <linux/module.h> #include <linux/module.h>
#include "../include/obd.h" #include <obd.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_req_layout.h" #include <lustre_req_layout.h>
#include "../include/lustre_fld.h" #include <lustre_fld.h>
#include "../include/lustre_fid.h" #include <lustre_fid.h>
#include "fld_internal.h" #include "fld_internal.h"
static int static int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment