Commit 610f7377 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: lustre: obdclass: 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 05932307
......@@ -8,6 +8,3 @@ obdclass-y := linux/linux-module.o linux/linux-obdo.o linux/linux-sysctl.o \
mea.o lu_object.o dt_object.o capa.o cl_object.o \
cl_page.o cl_lock.o cl_io.o lu_ref.o acl.o idmap.o \
lu_ucred.o
ccflags-y := -I$(src)/../include
......@@ -41,10 +41,10 @@
*/
#define DEBUG_SUBSYSTEM S_SEC
#include <lu_object.h>
#include <lustre_acl.h>
#include <lustre_eacl.h>
#include <obd_support.h>
#include "../include/lu_object.h"
#include "../include/lustre_acl.h"
#include "../include/lustre_eacl.h"
#include "../include/obd_support.h"
#ifdef CONFIG_FS_POSIX_ACL
......
......@@ -48,12 +48,12 @@
#include <linux/module.h>
#include <linux/crypto.h>
#include <obd_class.h>
#include <lustre_debug.h>
#include <lustre/lustre_idl.h>
#include "../include/obd_class.h"
#include "../include/lustre_debug.h"
#include "../include/lustre/lustre_idl.h"
#include <linux/list.h>
#include <lustre_capa.h>
#include "../include/lustre_capa.h"
#define NR_CAPAHASH 32
#define CAPA_HASH_SIZE 3000 /* for MDS & OSS */
......
......@@ -40,11 +40,11 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_class.h>
#include <obd_support.h>
#include <lustre_fid.h>
#include "../include/obd_class.h"
#include "../include/obd_support.h"
#include "../include/lustre_fid.h"
#include <linux/list.h>
#include <cl_object.h>
#include "../include/cl_object.h"
#include "cl_internal.h"
/*****************************************************************************
......
......@@ -40,11 +40,11 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_class.h>
#include <obd_support.h>
#include <lustre_fid.h>
#include "../include/obd_class.h"
#include "../include/obd_support.h"
#include "../include/lustre_fid.h"
#include <linux/list.h>
#include <cl_object.h>
#include "../include/cl_object.h"
#include "cl_internal.h"
/** Lock class of cl_lock::cll_guard */
......
......@@ -53,12 +53,12 @@
#include "../../include/linux/libcfs/libcfs.h"
/* class_put_type() */
#include <obd_class.h>
#include <obd_support.h>
#include <lustre_fid.h>
#include "../include/obd_class.h"
#include "../include/obd_support.h"
#include "../include/lustre_fid.h"
#include <linux/list.h>
#include "../../include/linux/libcfs/libcfs_hash.h" /* for cfs_hash stuff */
#include <cl_object.h>
#include "../include/cl_object.h"
#include "cl_internal.h"
static struct kmem_cache *cl_env_kmem;
......
......@@ -41,11 +41,11 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include "../../include/linux/libcfs/libcfs.h"
#include <obd_class.h>
#include <obd_support.h>
#include "../include/obd_class.h"
#include "../include/obd_support.h"
#include <linux/list.h>
#include <cl_object.h>
#include "../include/cl_object.h"
#include "cl_internal.h"
static void cl_page_delete0(const struct lu_env *env, struct cl_page *pg,
......
......@@ -37,14 +37,14 @@
#define DEBUG_SUBSYSTEM S_CLASS
# include <asm/atomic.h>
#include <obd_support.h>
#include <obd_class.h>
#include "../include/obd_support.h"
#include "../include/obd_class.h"
#include "../../include/linux/lnet/lnetctl.h"
#include <lustre_debug.h>
#include <lprocfs_status.h>
#include <lustre/lustre_build_version.h>
#include "../include/lustre_debug.h"
#include "../include/lprocfs_status.h"
#include "../include/lustre/lustre_build_version.h"
#include <linux/list.h>
#include <cl_object.h>
#include "../include/cl_object.h"
#include "llog_internal.h"
......
......@@ -41,10 +41,10 @@
#define DEBUG_SUBSYSTEM D_OTHER
#include <obd_ost.h>
#include <obd_support.h>
#include <lustre_debug.h>
#include <lustre_net.h>
#include "../include/obd_ost.h"
#include "../include/obd_support.h"
#include "../include/lustre_debug.h"
#include "../include/lustre_net.h"
void dump_lniobuf(struct niobuf_local *nb)
{
......
......@@ -43,13 +43,13 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd.h>
#include <dt_object.h>
#include "../include/obd.h"
#include "../include/dt_object.h"
#include <linux/list.h>
/* fid_be_to_cpu() */
#include <lustre_fid.h>
#include "../include/lustre_fid.h"
#include <lustre_quota.h>
#include "../include/lustre_quota.h"
/* context key constructor/destructor: dt_global_key_init, dt_global_key_fini */
LU_KEY_INIT(dt_global, struct dt_thread_info);
......
......@@ -40,9 +40,9 @@
*/
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_ost.h>
#include <obd_class.h>
#include <lprocfs_status.h>
#include "../include/obd_ost.h"
#include "../include/obd_class.h"
#include "../include/lprocfs_status.h"
extern struct list_head obd_types;
spinlock_t obd_types_lock;
......
......@@ -42,9 +42,9 @@
#define DEBUG_SUBSYSTEM S_SEC
#include <lustre_idmap.h>
#include <md_object.h>
#include <obd_support.h>
#include "../include/lustre_idmap.h"
#include "../include/md_object.h"
#include "../include/obd_support.h"
#define lustre_get_group_info(group_info) do { \
atomic_inc(&(group_info)->usage); \
......
......@@ -27,9 +27,9 @@
* Author: Di Wang <di.wang@intel.com>
*/
#include <lustre/lustre_idl.h>
#include <obd.h>
#include <lustre_linkea.h>
#include "../include/lustre/lustre_idl.h"
#include "../include/obd.h"
#include "../include/lustre_linkea.h"
int linkea_data_new(struct linkea_data *ldata, struct lu_buf *buf)
{
......
......@@ -67,11 +67,11 @@
#include "../../../include/linux/libcfs/libcfs.h"
#include "../../../include/linux/lnet/lnetctl.h"
#include <obd_support.h>
#include <obd_class.h>
#include <lprocfs_status.h>
#include <lustre_ver.h>
#include <lustre/lustre_build_version.h>
#include "../../include/obd_support.h"
#include "../../include/obd_class.h"
#include "../../include/lprocfs_status.h"
#include "../../include/lustre_ver.h"
#include "../../include/lustre/lustre_build_version.h"
int proc_version;
......
......@@ -43,8 +43,8 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <linux/module.h>
#include <obd_class.h>
#include <lustre/lustre_idl.h>
#include "../../include/obd_class.h"
#include "../../include/lustre/lustre_idl.h"
#include <linux/fs.h>
#include <linux/pagemap.h> /* for PAGE_CACHE_SIZE */
......
......@@ -48,8 +48,8 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_support.h>
#include <lprocfs_status.h>
#include "../../include/obd_support.h"
#include "../../include/lprocfs_status.h"
#ifdef CONFIG_SYSCTL
ctl_table_header_t *obd_table_header = NULL;
......
......@@ -48,8 +48,8 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <obd_class.h>
#include <lustre_log.h>
#include "../include/obd_class.h"
#include "../include/lustre_log.h"
#include "llog_internal.h"
/*
......
......@@ -49,7 +49,7 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <obd_class.h>
#include "../include/obd_class.h"
#include "llog_internal.h"
......
......@@ -37,7 +37,7 @@
#ifndef __LLOG_INTERNAL_H__
#define __LLOG_INTERNAL_H__
#include <lustre_log.h>
#include "../include/lustre_log.h"
struct llog_process_info {
struct llog_handle *lpi_loghandle;
......
......@@ -36,8 +36,8 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <obd_class.h>
#include <lustre_log.h>
#include "../include/obd_class.h"
#include "../include/lustre_log.h"
#include "llog_internal.h"
static int str2logid(struct llog_logid *logid, char *str, int len)
......
......@@ -46,14 +46,14 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <obd.h>
#include <obd_class.h>
#include <lustre_log.h>
#include <obd_ost.h>
#include "../include/obd.h"
#include "../include/obd_class.h"
#include "../include/lustre_log.h"
#include "../include/obd_ost.h"
#include <linux/list.h>
#include <lvfs.h>
#include <lustre_fsfilt.h>
#include <lustre_disk.h>
#include "../include/lvfs.h"
#include "../include/lustre_fsfilt.h"
#include "../include/lustre_disk.h"
#include "llog_internal.h"
#if defined(LLOG_LVFS)
......
......@@ -37,8 +37,8 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <obd_class.h>
#include <lustre_log.h>
#include "../include/obd_class.h"
#include "../include/lustre_log.h"
#include "llog_internal.h"
/* helper functions for calling the llog obd methods */
......
......@@ -41,10 +41,10 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <obd.h>
#include <obd_class.h>
#include <lustre_fid.h>
#include <dt_object.h>
#include "../include/obd.h"
#include "../include/obd_class.h"
#include "../include/lustre_fid.h"
#include "../include/dt_object.h"
#include "llog_internal.h"
#include "local_storage.h"
......
......@@ -43,7 +43,7 @@
#define DEBUG_SUBSYSTEM S_LOG
#include <lustre_log.h>
#include "../include/lustre_log.h"
static void print_llogd_body(struct llogd_body *d)
{
......
......@@ -44,9 +44,9 @@
#include <linux/module.h>
#include <linux/init.h>
#include <obd_class.h>
#include <lustre_fid.h>
#include <lustre_log.h>
#include "../include/obd_class.h"
#include "../include/lustre_fid.h"
#include "../include/lustre_log.h"
/* This is slightly more than the number of records that can fit into a
* single llog file, because the llog_log_header takes up some of the
......
......@@ -32,10 +32,10 @@
#ifndef __LOCAL_STORAGE_H
#define __LOCAL_STORAGE_H
#include <dt_object.h>
#include <obd.h>
#include <lustre_fid.h>
#include <lustre_disk.h>
#include "../include/dt_object.h"
#include "../include/obd.h"
#include "../include/lustre_fid.h"
#include "../include/lustre_disk.h"
struct ls_device {
struct dt_device ls_top_dev;
......
......@@ -41,9 +41,9 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_class.h>
#include <lprocfs_status.h>
#include <lustre/lustre_idl.h>
#include "../include/obd_class.h"
#include "../include/lprocfs_status.h"
#include "../include/lustre/lustre_idl.h"
#include <linux/seq_file.h>
static const char * const obd_connect_names[] = {
......
......@@ -50,12 +50,12 @@
/* hash_long() */
#include "../../include/linux/libcfs/libcfs_hash.h"
#include <obd_class.h>
#include <obd_support.h>
#include <lustre_disk.h>
#include <lustre_fid.h>
#include <lu_object.h>
#include <lu_ref.h>
#include "../include/obd_class.h"
#include "../include/obd_support.h"
#include "../include/lustre_disk.h"
#include "../include/lustre_fid.h"
#include "../include/lu_object.h"
#include "../include/lu_ref.h"
#include <linux/list.h>
static void lu_object_free(const struct lu_env *env, struct lu_object *o);
......
......@@ -44,7 +44,7 @@
#include "../../include/linux/libcfs/libcfs.h"
#include <obd.h>
#include <obd_class.h>
#include <obd_support.h>
#include <lu_ref.h>
#include "../include/obd.h"
#include "../include/obd_class.h"
#include "../include/obd_support.h"
#include "../include/lu_ref.h"
......@@ -45,9 +45,9 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include "../../include/linux/libcfs/libcfs.h"
#include <obd_support.h>
#include <lu_object.h>
#include <md_object.h>
#include "../include/obd_support.h"
#include "../include/lu_object.h"
#include "../include/md_object.h"
/* context key constructor/destructor: lu_ucred_key_init, lu_ucred_key_fini */
LU_KEY_INIT_FINI(lu_ucred, struct lu_ucred);
......
......@@ -40,9 +40,9 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_support.h>
#include <lustre_handles.h>
#include <lustre_lib.h>
#include "../include/obd_support.h"
#include "../include/lustre_handles.h"
#include "../include/lustre_lib.h"
static __u64 handle_base;
......
......@@ -36,13 +36,13 @@
#define DEBUG_SUBSYSTEM S_RPC
#include <obd.h>
#include <obd_support.h>
#include <obd_class.h>
#include <lustre_lib.h>
#include <lustre_ha.h>
#include <lustre_net.h>
#include <lprocfs_status.h>
#include "../include/obd.h"
#include "../include/obd_support.h"
#include "../include/obd_class.h"
#include "../include/lustre_lib.h"
#include "../include/lustre_ha.h"
#include "../include/lustre_net.h"
#include "../include/lprocfs_status.h"
#define NIDS_MAX 32
......
......@@ -27,9 +27,9 @@
* Author: Johann Lombardi <johann.lombardi@intel.com>
*/
#include <lustre/lustre_idl.h>
#include <obd.h>
#include <md_object.h>
#include "../include/lustre/lustre_idl.h"
#include "../include/obd.h"
#include "../include/md_object.h"
/**
* Initialize new \a lma. Only fid is stored.
......
......@@ -33,13 +33,13 @@
*/
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_class.h>
#include "../include/obd_class.h"
#include <linux/kmod.h> /* for request_module() */
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <lprocfs_status.h>
#include <lustre/lustre_idl.h>
#include "../include/lprocfs_status.h"
#include "../include/lustre/lustre_idl.h"
static int mea_last_char_hash(int count, char *name, int namelen)
{
......
......@@ -39,11 +39,11 @@
*/
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_class.h>
#include "../include/obd_class.h"
#include <linux/string.h>
#include <lustre_log.h>
#include <lprocfs_status.h>
#include <lustre_param.h>
#include "../include/lustre_log.h"
#include "../include/lprocfs_status.h"
#include "../include/lustre_param.h"
#include "llog_internal.h"
......
......@@ -45,13 +45,13 @@
#define D_MOUNT (D_SUPER|D_CONFIG/*|D_WARNING */)
#define PRINT_CMD CDEBUG
#include <obd.h>
#include <lvfs.h>
#include <obd_class.h>
#include <lustre/lustre_user.h>
#include <lustre_log.h>
#include <lustre_disk.h>
#include <lustre_param.h>
#include "../include/obd.h"
#include "../include/lvfs.h"
#include "../include/obd_class.h"
#include "../include/lustre/lustre_user.h"
#include "../include/lustre_log.h"
#include "../include/lustre_disk.h"
#include "../include/lustre_param.h"
static int (*client_fill_super)(struct super_block *sb,
struct vfsmount *mnt);
......
......@@ -42,8 +42,8 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <obd_class.h>
#include <lustre/lustre_idl.h>
#include "../include/obd_class.h"
#include "../include/lustre/lustre_idl.h"
void obdo_set_parent_fid(struct obdo *dst, const struct lu_fid *parent)
{
......
......@@ -41,10 +41,10 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <lustre_export.h>
#include <lustre_net.h>
#include <obd_support.h>
#include <obd_class.h>
#include "../include/lustre_export.h"
#include "../include/lustre_net.h"
#include "../include/obd_support.h"
#include "../include/obd_class.h"
void statfs_pack(struct obd_statfs *osfs, struct kstatfs *sfs)
{
......
......@@ -40,8 +40,8 @@
#include "../../include/linux/libcfs/libcfs.h"
#include <obd_support.h>
#include <obd_class.h>
#include "../include/obd_support.h"
#include "../include/obd_class.h"
static inline __u32 consume(int nob, __u8 **ptr)
......
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