Commit 73060ed9 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: lustre: mgc: remove ccflags from Makefile

Fix up the relative paths in the .c files to properly build with the
Makefile change.

Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Cc: hpdd-discuss <hpdd-discuss@lists.01.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 610f7377
obj-$(CONFIG_LUSTRE_FS) += mgc.o obj-$(CONFIG_LUSTRE_FS) += mgc.o
mgc-y := mgc_request.o mgc-y := mgc_request.o
mgc-$(CONFIG_PROC_FS) += lproc_mgc.o mgc-$(CONFIG_PROC_FS) += lproc_mgc.o
ccflags-y := -I$(src)/../include
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
#define DEBUG_SUBSYSTEM S_MGC #define DEBUG_SUBSYSTEM S_MGC
#include <liblustre.h> #include "../include/liblustre.h"
#include <obd_class.h> #include "../include/obd_class.h"
#include <lustre_dlm.h> #include "../include/lustre_dlm.h"
#include <lustre_log.h> #include "../include/lustre_log.h"
#include <lustre_fsfilt.h> #include "../include/lustre_fsfilt.h"
#include <lustre_disk.h> #include "../include/lustre_disk.h"
static int mgc_setup(struct obd_device *obd, struct lustre_cfg *lcfg) static int mgc_setup(struct obd_device *obd, struct lustre_cfg *lcfg)
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
#define DEBUG_SUBSYSTEM S_CLASS #define DEBUG_SUBSYSTEM S_CLASS
#include <linux/vfs.h> #include <linux/vfs.h>
#include <obd_class.h> #include "../include/obd_class.h"
#include <lprocfs_status.h> #include "../include/lprocfs_status.h"
#include "mgc_internal.h" #include "mgc_internal.h"
LPROC_SEQ_FOPS_RO_TYPE(mgc, uuid); LPROC_SEQ_FOPS_RO_TYPE(mgc, uuid);
......
...@@ -38,11 +38,11 @@ ...@@ -38,11 +38,11 @@
#define _MGC_INTERNAL_H #define _MGC_INTERNAL_H
#include "../../include/linux/libcfs/libcfs.h" #include "../../include/linux/libcfs/libcfs.h"
#include <lustre/lustre_idl.h> #include "../include/lustre/lustre_idl.h"
#include <lustre_lib.h> #include "../include/lustre_lib.h"
#include <lustre_dlm.h> #include "../include/lustre_dlm.h"
#include <lustre_log.h> #include "../include/lustre_log.h"
#include <lustre_export.h> #include "../include/lustre_export.h"
#ifdef LPROCFS #ifdef LPROCFS
void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars); void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars);
......
...@@ -42,12 +42,12 @@ ...@@ -42,12 +42,12 @@
#define D_MGC D_CONFIG /*|D_WARNING*/ #define D_MGC D_CONFIG /*|D_WARNING*/
#include <linux/module.h> #include <linux/module.h>
#include <obd_class.h> #include "../include/obd_class.h"
#include <lustre_dlm.h> #include "../include/lustre_dlm.h"
#include <lprocfs_status.h> #include "../include/lprocfs_status.h"
#include <lustre_log.h> #include "../include/lustre_log.h"
#include <lustre_disk.h> #include "../include/lustre_disk.h"
#include <dt_object.h> #include "../include/dt_object.h"
#include "mgc_internal.h" #include "mgc_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