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

staging: lustre: lmv: add include path to Makefile

Rationalize include paths in the lmv source code files.
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b2e475b1
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include
obj-$(CONFIG_LUSTRE_FS) += lmv.o obj-$(CONFIG_LUSTRE_FS) += lmv.o
lmv-y := lmv_obd.o lmv_intent.o lmv_fld.o lproc_lmv.o lmv-y := lmv_obd.o lmv_intent.o lmv_fld.o lproc_lmv.o
...@@ -37,13 +37,13 @@ ...@@ -37,13 +37,13 @@
#include <asm/div64.h> #include <asm/div64.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_fid.h" #include <lustre_fid.h>
#include "../include/lustre_lib.h" #include <lustre_lib.h>
#include "../include/lustre_net.h" #include <lustre_net.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "lmv_internal.h" #include "lmv_internal.h"
int lmv_fld_lookup(struct lmv_obd *lmv, const struct lu_fid *fid, u32 *mds) int lmv_fld_lookup(struct lmv_obd *lmv, const struct lu_fid *fid, u32 *mds)
......
...@@ -37,14 +37,14 @@ ...@@ -37,14 +37,14 @@
#include <asm/div64.h> #include <asm/div64.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/namei.h> #include <linux/namei.h>
#include "../include/lustre_intent.h" #include <lustre_intent.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_lib.h" #include <lustre_lib.h>
#include "../include/lustre_net.h" #include <lustre_net.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "../include/lustre_mdc.h" #include <lustre_mdc.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "lmv_internal.h" #include "lmv_internal.h"
static int lmv_intent_remote(struct obd_export *exp, struct lookup_intent *it, static int lmv_intent_remote(struct obd_export *exp, struct lookup_intent *it,
......
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
#ifndef _LMV_INTERNAL_H_ #ifndef _LMV_INTERNAL_H_
#define _LMV_INTERNAL_H_ #define _LMV_INTERNAL_H_
#include "../../include/uapi/linux/lustre/lustre_idl.h" #include <uapi/linux/lustre/lustre_idl.h>
#include "../include/obd.h" #include <obd.h>
#include "../include/lustre_lmv.h" #include <lustre_lmv.h>
#define LMV_MAX_TGT_COUNT 128 #define LMV_MAX_TGT_COUNT 128
......
...@@ -41,15 +41,15 @@ ...@@ -41,15 +41,15 @@
#include <linux/namei.h> #include <linux/namei.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_net.h" #include <lustre_net.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../include/lustre_lmv.h" #include <lustre_lmv.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "../include/lustre_fid.h" #include <lustre_fid.h>
#include "../../include/uapi/linux/lustre/lustre_ioctl.h" #include <uapi/linux/lustre/lustre_ioctl.h>
#include "../include/lustre_kernelcomm.h" #include <lustre_kernelcomm.h>
#include "lmv_internal.h" #include "lmv_internal.h"
static int lmv_check_connect(struct obd_device *obd); static int lmv_check_connect(struct obd_device *obd);
......
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
#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 "lmv_internal.h" #include "lmv_internal.h"
static ssize_t numobd_show(struct kobject *kobj, struct attribute *attr, static ssize_t numobd_show(struct kobject *kobj, struct attribute *attr,
......
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