提交 73060ed9 编写于 作者: G 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: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 610f7377
obj-$(CONFIG_LUSTRE_FS) += mgc.o
mgc-y := mgc_request.o
mgc-$(CONFIG_PROC_FS) += lproc_mgc.o
ccflags-y := -I$(src)/../include
......@@ -44,13 +44,13 @@
#define DEBUG_SUBSYSTEM S_MGC
#include <liblustre.h>
#include "../include/liblustre.h"
#include <obd_class.h>
#include <lustre_dlm.h>
#include <lustre_log.h>
#include <lustre_fsfilt.h>
#include <lustre_disk.h>
#include "../include/obd_class.h"
#include "../include/lustre_dlm.h"
#include "../include/lustre_log.h"
#include "../include/lustre_fsfilt.h"
#include "../include/lustre_disk.h"
static int mgc_setup(struct obd_device *obd, struct lustre_cfg *lcfg)
......
......@@ -36,8 +36,8 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <linux/vfs.h>
#include <obd_class.h>
#include <lprocfs_status.h>
#include "../include/obd_class.h"
#include "../include/lprocfs_status.h"
#include "mgc_internal.h"
LPROC_SEQ_FOPS_RO_TYPE(mgc, uuid);
......
......@@ -38,11 +38,11 @@
#define _MGC_INTERNAL_H
#include "../../include/linux/libcfs/libcfs.h"
#include <lustre/lustre_idl.h>
#include <lustre_lib.h>
#include <lustre_dlm.h>
#include <lustre_log.h>
#include <lustre_export.h>
#include "../include/lustre/lustre_idl.h"
#include "../include/lustre_lib.h"
#include "../include/lustre_dlm.h"
#include "../include/lustre_log.h"
#include "../include/lustre_export.h"
#ifdef LPROCFS
void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars);
......
......@@ -42,12 +42,12 @@
#define D_MGC D_CONFIG /*|D_WARNING*/
#include <linux/module.h>
#include <obd_class.h>
#include <lustre_dlm.h>
#include <lprocfs_status.h>
#include <lustre_log.h>
#include <lustre_disk.h>
#include <dt_object.h>
#include "../include/obd_class.h"
#include "../include/lustre_dlm.h"
#include "../include/lprocfs_status.h"
#include "../include/lustre_log.h"
#include "../include/lustre_disk.h"
#include "../include/dt_object.h"
#include "mgc_internal.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册