OSDN Git Service

staging: lustre: lvfs: remove ccflags from Makefile
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 05:02:26 +0000 (22:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 05:02:26 +0000 (22:02 -0700)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_fsfilt.h
drivers/staging/lustre/lustre/lvfs/Makefile
drivers/staging/lustre/lustre/lvfs/fsfilt.c
drivers/staging/lustre/lustre/lvfs/lvfs_lib.c
drivers/staging/lustre/lustre/lvfs/lvfs_linux.c

index 9dcc332..9749c3f 100644 (file)
@@ -41,7 +41,7 @@
 #ifndef _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)
 
index e0367c3..387eee3 100644 (file)
@@ -2,6 +2,3 @@ obj-$(CONFIG_LUSTRE_FS) += lvfs.o
 
 lvfs-y := lvfs_linux.o fsfilt.o
 lvfs-$(CONFIG_PROC_FS) += lvfs_lib.o
-
-
-ccflags-y := -I$(src)/../include
index 1c0fc24..a4df056 100644 (file)
@@ -39,7 +39,7 @@
 #include <linux/kmod.h>
 #include <linux/slab.h>
 #include "../../include/linux/libcfs/libcfs.h"
-#include <lustre_fsfilt.h>
+#include "../include/lustre_fsfilt.h"
 
 LIST_HEAD(fsfilt_types);
 
index 7e47fc4..cfc4f89 100644 (file)
@@ -40,8 +40,8 @@
  * Author: Andreas Dilger <adilger@clusterfs.com>
  */
 #include <linux/module.h>
-#include <lustre_lib.h>
-#include <lprocfs_status.h>
+#include "../include/lustre_lib.h"
+#include "../include/lprocfs_status.h"
 
 void lprocfs_counter_add(struct lprocfs_stats *stats, int idx, long amount)
 {
index e616873..a519a5c 100644 (file)
 #include <linux/quotaops.h>
 #include <linux/module.h>
 #include "../../include/linux/libcfs/libcfs.h"
-#include <linux/lustre_compat25.h>
-#include <lvfs.h>
+#include "../include/linux/lustre_compat25.h"
+#include "../include/lvfs.h"
 
-#include <obd.h>
-#include <lustre_lib.h>
+#include "../include/obd.h"
+#include "../include/lustre_lib.h"
 
 struct lprocfs_stats *obd_memory = NULL;
 EXPORT_SYMBOL(obd_memory);