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

staging: lustre: lvfs: 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 0cf0f7a7
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#ifndef _LUSTRE_FSFILT_H #ifndef _LUSTRE_FSFILT_H
#define _LUSTRE_FSFILT_H #define _LUSTRE_FSFILT_H
#include <linux/lustre_fsfilt.h> #include "../include/linux/lustre_fsfilt.h"
#define LU221_BAD_TIME (0x80000000U + 24 * 3600) #define LU221_BAD_TIME (0x80000000U + 24 * 3600)
......
...@@ -2,6 +2,3 @@ obj-$(CONFIG_LUSTRE_FS) += lvfs.o ...@@ -2,6 +2,3 @@ obj-$(CONFIG_LUSTRE_FS) += lvfs.o
lvfs-y := lvfs_linux.o fsfilt.o lvfs-y := lvfs_linux.o fsfilt.o
lvfs-$(CONFIG_PROC_FS) += lvfs_lib.o lvfs-$(CONFIG_PROC_FS) += lvfs_lib.o
ccflags-y := -I$(src)/../include
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <linux/kmod.h> #include <linux/kmod.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "../../include/linux/libcfs/libcfs.h" #include "../../include/linux/libcfs/libcfs.h"
#include <lustre_fsfilt.h> #include "../include/lustre_fsfilt.h"
LIST_HEAD(fsfilt_types); LIST_HEAD(fsfilt_types);
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
* Author: Andreas Dilger <adilger@clusterfs.com> * Author: Andreas Dilger <adilger@clusterfs.com>
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <lustre_lib.h> #include "../include/lustre_lib.h"
#include <lprocfs_status.h> #include "../include/lprocfs_status.h"
void lprocfs_counter_add(struct lprocfs_stats *stats, int idx, long amount) void lprocfs_counter_add(struct lprocfs_stats *stats, int idx, long amount)
{ {
......
...@@ -47,11 +47,11 @@ ...@@ -47,11 +47,11 @@
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/module.h> #include <linux/module.h>
#include "../../include/linux/libcfs/libcfs.h" #include "../../include/linux/libcfs/libcfs.h"
#include <linux/lustre_compat25.h> #include "../include/linux/lustre_compat25.h"
#include <lvfs.h> #include "../include/lvfs.h"
#include <obd.h> #include "../include/obd.h"
#include <lustre_lib.h> #include "../include/lustre_lib.h"
struct lprocfs_stats *obd_memory = NULL; struct lprocfs_stats *obd_memory = NULL;
EXPORT_SYMBOL(obd_memory); EXPORT_SYMBOL(obd_memory);
......
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