Commit 3ee30015 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: lustre: osc: 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 73060ed9
...@@ -2,7 +2,3 @@ obj-$(CONFIG_LUSTRE_FS) += osc.o ...@@ -2,7 +2,3 @@ obj-$(CONFIG_LUSTRE_FS) += osc.o
osc-y := osc_request.o osc_dev.o osc_object.o \ osc-y := osc_request.o osc_dev.o osc_object.o \
osc_page.o osc_lock.o osc_io.o osc_quota.o osc_cache.o osc_page.o osc_lock.o osc_io.o osc_quota.o osc_cache.o
osc-$(CONFIG_PROC_FS) += lproc_osc.o osc-$(CONFIG_PROC_FS) += lproc_osc.o
ccflags-y := -I$(src)/../include
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
#define DEBUG_SUBSYSTEM S_CLASS #define DEBUG_SUBSYSTEM S_CLASS
#include <asm/statfs.h> #include <asm/statfs.h>
#include <obd_cksum.h> #include "../include/obd_cksum.h"
#include <obd_class.h> #include "../include/obd_class.h"
#include <lprocfs_status.h> #include "../include/lprocfs_status.h"
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include "osc_internal.h" #include "osc_internal.h"
......
...@@ -48,11 +48,11 @@ ...@@ -48,11 +48,11 @@
#include "../../include/linux/libcfs/libcfs.h" #include "../../include/linux/libcfs/libcfs.h"
#include <obd.h> #include "../include/obd.h"
/* osc_build_res_name() */ /* osc_build_res_name() */
#include <obd_ost.h> #include "../include/obd_ost.h"
#include <cl_object.h> #include "../include/cl_object.h"
#include <lclient.h> #include "../include/lclient.h"
#include "osc_internal.h" #include "osc_internal.h"
/** \defgroup osc osc /** \defgroup osc osc
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#define DEBUG_SUBSYSTEM S_OSC #define DEBUG_SUBSYSTEM S_OSC
/* class_name2obd() */ /* class_name2obd() */
#include <obd_class.h> #include "../include/obd_class.h"
#include "osc_cl_internal.h" #include "osc_cl_internal.h"
......
...@@ -97,7 +97,7 @@ void osc_update_next_shrink(struct client_obd *cli); ...@@ -97,7 +97,7 @@ void osc_update_next_shrink(struct client_obd *cli);
/* /*
* cl integration. * cl integration.
*/ */
#include <cl_object.h> #include "../include/cl_object.h"
extern struct ptlrpc_request_set *PTLRPCD_SET; extern struct ptlrpc_request_set *PTLRPCD_SET;
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include "../../include/linux/libcfs/libcfs.h" #include "../../include/linux/libcfs/libcfs.h"
/* fid_build_reg_res_name() */ /* fid_build_reg_res_name() */
#include <lustre_fid.h> #include "../include/lustre_fid.h"
#include "osc_cl_internal.h" #include "osc_cl_internal.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* Code originally extracted from quota directory * Code originally extracted from quota directory
*/ */
#include <obd_ost.h> #include "../include/obd_ost.h"
#include "osc_internal.h" #include "osc_internal.h"
static inline struct osc_quota_info *osc_oqi_alloc(obd_uid id) static inline struct osc_quota_info *osc_oqi_alloc(obd_uid id)
......
...@@ -39,18 +39,18 @@ ...@@ -39,18 +39,18 @@
#include "../../include/linux/libcfs/libcfs.h" #include "../../include/linux/libcfs/libcfs.h"
#include <lustre_dlm.h> #include "../include/lustre_dlm.h"
#include <lustre_net.h> #include "../include/lustre_net.h"
#include <lustre/lustre_user.h> #include "../include/lustre/lustre_user.h"
#include <obd_cksum.h> #include "../include/obd_cksum.h"
#include <obd_ost.h> #include "../include/obd_ost.h"
#include <lustre_ha.h> #include "../include/lustre_ha.h"
#include <lprocfs_status.h> #include "../include/lprocfs_status.h"
#include <lustre_log.h> #include "../include/lustre_log.h"
#include <lustre_debug.h> #include "../include/lustre_debug.h"
#include <lustre_param.h> #include "../include/lustre_param.h"
#include <lustre_fid.h> #include "../include/lustre_fid.h"
#include "osc_internal.h" #include "osc_internal.h"
#include "osc_cl_internal.h" #include "osc_cl_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