Commit 05932307 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: lustre: mdc: 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 e0a30a6b
......@@ -37,6 +37,6 @@
#ifndef _LUSTRE_ACL_H
#define _LUSTRE_ACL_H
#include <linux/lustre_acl.h>
#include "linux/lustre_acl.h"
#endif
obj-$(CONFIG_LUSTRE_FS) += mdc.o
mdc-y := mdc_request.o mdc_reint.o mdc_lib.o mdc_locks.o
mdc-$(CONFIG_PROC_FS) += lproc_mdc.o
ccflags-y := -I$(src)/../include
......@@ -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"
static int mdc_max_rpcs_in_flight_seq_show(struct seq_file *m, void *v)
{
......
......@@ -37,8 +37,8 @@
#ifndef _MDC_INTERNAL_H
#define _MDC_INTERNAL_H
#include <lustre_mdc.h>
#include <lustre_mds.h>
#include "../include/lustre_mdc.h"
#include "../include/lustre_mds.h"
#ifdef LPROCFS
void lprocfs_mdc_init_vars(struct lprocfs_static_vars *lvars);
......
......@@ -35,8 +35,8 @@
*/
#define DEBUG_SUBSYSTEM S_MDC
#include <lustre_net.h>
#include <lustre/lustre_idl.h>
#include "../include/lustre_net.h"
#include "../include/lustre/lustre_idl.h"
#include "mdc_internal.h"
......
......@@ -38,14 +38,14 @@
# include <linux/module.h>
#include <linux/lustre_intent.h>
#include <obd.h>
#include <obd_class.h>
#include <lustre_dlm.h>
#include <lustre_fid.h> /* fid_res_name_eq() */
#include <lustre_mdc.h>
#include <lustre_net.h>
#include <lustre_req_layout.h>
#include "../include/linux/lustre_intent.h"
#include "../include/obd.h"
#include "../include/obd_class.h"
#include "../include/lustre_dlm.h"
#include "../include/lustre_fid.h" /* fid_res_name_eq() */
#include "../include/lustre_mdc.h"
#include "../include/lustre_net.h"
#include "../include/lustre_req_layout.h"
#include "mdc_internal.h"
struct mdc_getattr_args {
......
......@@ -39,9 +39,9 @@
# include <linux/module.h>
# include <linux/kernel.h>
#include <obd_class.h>
#include "../include/obd_class.h"
#include "mdc_internal.h"
#include <lustre_fid.h>
#include "../include/lustre_fid.h"
/* mdc_setattr does its own semaphore handling */
static int mdc_reint(struct ptlrpc_request *request,
......
......@@ -42,12 +42,12 @@
# include <linux/init.h>
# include <linux/utsname.h>
#include <lustre_acl.h>
#include <obd_class.h>
#include <lustre_fid.h>
#include <lprocfs_status.h>
#include <lustre_param.h>
#include <lustre_log.h>
#include "../include/lustre_acl.h"
#include "../include/obd_class.h"
#include "../include/lustre_fid.h"
#include "../include/lprocfs_status.h"
#include "../include/lustre_param.h"
#include "../include/lustre_log.h"
#include "mdc_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