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

staging: lustre: lov: add include path to Makefile

Rationalize include paths in the lov source code files.
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 873d2e7d
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include
obj-$(CONFIG_LUSTRE_FS) += lov.o obj-$(CONFIG_LUSTRE_FS) += lov.o
lov-y := lov_obd.o lov_pack.o lov_offset.o lov_merge.o \ lov-y := lov_obd.o lov_pack.o lov_offset.o lov_merge.o \
lov_request.o lov_ea.o lov_dev.o lov_object.o lov_page.o \ lov_request.o lov_ea.o lov_dev.o lov_object.o lov_page.o \
......
...@@ -42,10 +42,10 @@ ...@@ -42,10 +42,10 @@
#ifndef LOV_CL_INTERNAL_H #ifndef LOV_CL_INTERNAL_H
#define LOV_CL_INTERNAL_H #define LOV_CL_INTERNAL_H
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/obd.h" #include <obd.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "lov_internal.h" #include "lov_internal.h"
/** \defgroup lov lov /** \defgroup lov lov
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#define DEBUG_SUBSYSTEM S_LOV #define DEBUG_SUBSYSTEM S_LOV
/* class_name2obd() */ /* class_name2obd() */
#include "../include/obd_class.h" #include <obd_class.h>
#include "lov_cl_internal.h" #include "lov_cl_internal.h"
#include "lov_internal.h" #include "lov_internal.h"
......
...@@ -37,10 +37,10 @@ ...@@ -37,10 +37,10 @@
#define DEBUG_SUBSYSTEM S_LOV #define DEBUG_SUBSYSTEM S_LOV
#include <asm/div64.h> #include <asm/div64.h>
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../../include/uapi/linux/lustre/lustre_idl.h" #include <uapi/linux/lustre/lustre_idl.h>
#include "lov_internal.h" #include "lov_internal.h"
......
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
#ifndef LOV_INTERNAL_H #ifndef LOV_INTERNAL_H
#define LOV_INTERNAL_H #define LOV_INTERNAL_H
#include "../include/obd_class.h" #include <obd_class.h>
#include "../../include/uapi/linux/lustre/lustre_idl.h" #include <uapi/linux/lustre/lustre_idl.h>
/* /*
* If we are unable to get the maximum object size from the OST in * If we are unable to get the maximum object size from the OST in
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#define DEBUG_SUBSYSTEM S_LOV #define DEBUG_SUBSYSTEM S_LOV
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "lov_internal.h" #include "lov_internal.h"
/** Merge the lock value block(&lvb) attributes and KMS from each of the /** Merge the lock value block(&lvb) attributes and KMS from each of the
......
...@@ -38,22 +38,22 @@ ...@@ -38,22 +38,22 @@
*/ */
#define DEBUG_SUBSYSTEM S_LOV #define DEBUG_SUBSYSTEM S_LOV
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../../include/uapi/linux/lustre/lustre_idl.h" #include <uapi/linux/lustre/lustre_idl.h>
#include "../../include/uapi/linux/lustre/lustre_ioctl.h" #include <uapi/linux/lustre/lustre_ioctl.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "../include/lustre_fid.h" #include <lustre_fid.h>
#include "../include/lustre_lib.h" #include <lustre_lib.h>
#include "../include/lustre_mds.h" #include <lustre_mds.h>
#include "../include/lustre_net.h" #include <lustre_net.h>
#include "../../include/uapi/linux/lustre/lustre_param.h" #include <uapi/linux/lustre/lustre_param.h>
#include "../include/lustre_swab.h" #include <lustre_swab.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "lov_internal.h" #include "lov_internal.h"
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#define DEBUG_SUBSYSTEM S_LOV #define DEBUG_SUBSYSTEM S_LOV
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "lov_internal.h" #include "lov_internal.h"
......
...@@ -38,11 +38,11 @@ ...@@ -38,11 +38,11 @@
#define DEBUG_SUBSYSTEM S_LOV #define DEBUG_SUBSYSTEM S_LOV
#include "../include/lustre_net.h" #include <lustre_net.h>
#include "../include/lustre_swab.h" #include <lustre_swab.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 "lov_cl_internal.h" #include "lov_cl_internal.h"
#include "lov_internal.h" #include "lov_internal.h"
......
...@@ -40,9 +40,9 @@ ...@@ -40,9 +40,9 @@
#define DEBUG_SUBSYSTEM S_LOV #define DEBUG_SUBSYSTEM S_LOV
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/obd.h" #include <obd.h>
#include "lov_internal.h" #include "lov_internal.h"
#define pool_tgt(_p, _i) \ #define pool_tgt(_p, _i) \
......
...@@ -32,10 +32,10 @@ ...@@ -32,10 +32,10 @@
#define DEBUG_SUBSYSTEM S_LOV #define DEBUG_SUBSYSTEM S_LOV
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../../include/uapi/linux/lustre/lustre_idl.h" #include <uapi/linux/lustre/lustre_idl.h>
#include "lov_internal.h" #include "lov_internal.h"
static void lov_init_set(struct lov_request_set *set) static void lov_init_set(struct lov_request_set *set)
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
#define DEBUG_SUBSYSTEM S_CLASS #define DEBUG_SUBSYSTEM S_CLASS
#include <linux/statfs.h> #include <linux/statfs.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include "lov_internal.h" #include "lov_internal.h"
......
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