Commit fcda61a9 authored by James Simmons's avatar James Simmons Committed by Greg Kroah-Hartman

staging: lustre: osc: add include path to Makefile

Rationalize include paths in the osc source code files.
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b69260b9
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include
obj-$(CONFIG_LUSTRE_FS) += osc.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 lproc_osc.o
......@@ -32,9 +32,9 @@
#define DEBUG_SUBSYSTEM S_CLASS
#include <linux/statfs.h>
#include "../include/obd_cksum.h"
#include "../include/obd_class.h"
#include "../include/lprocfs_status.h"
#include <obd_cksum.h>
#include <obd_class.h>
#include <lprocfs_status.h>
#include <linux/seq_file.h>
#include "osc_internal.h"
......
......@@ -42,11 +42,11 @@
#ifndef OSC_CL_INTERNAL_H
#define OSC_CL_INTERNAL_H
#include "../../include/linux/libcfs/libcfs.h"
#include <linux/libcfs/libcfs.h>
#include "../include/obd.h"
#include <obd.h>
/* osc_build_res_name() */
#include "../include/cl_object.h"
#include <cl_object.h>
#include "osc_internal.h"
/** \defgroup osc osc
......
......@@ -37,7 +37,7 @@
#define DEBUG_SUBSYSTEM S_OSC
/* class_name2obd() */
#include "../include/obd_class.h"
#include <obd_class.h>
#include "osc_cl_internal.h"
......
......@@ -99,7 +99,7 @@ void osc_update_next_shrink(struct client_obd *cli);
/*
* cl integration.
*/
#include "../include/cl_object.h"
#include <cl_object.h>
extern struct ptlrpc_request_set *PTLRPCD_SET;
......
......@@ -37,7 +37,7 @@
#define DEBUG_SUBSYSTEM S_OSC
#include "../include/lustre_obdo.h"
#include <lustre_obdo.h>
#include "osc_cl_internal.h"
......
......@@ -37,9 +37,9 @@
#define DEBUG_SUBSYSTEM S_OSC
#include "../../include/linux/libcfs/libcfs.h"
#include <linux/libcfs/libcfs.h>
/* fid_build_reg_res_name() */
#include "../include/lustre_fid.h"
#include <lustre_fid.h>
#include "osc_cl_internal.h"
......
......@@ -23,7 +23,7 @@
* Code originally extracted from quota directory
*/
#include "../include/obd_class.h"
#include <obd_class.h>
#include "osc_internal.h"
static inline struct osc_quota_info *osc_oqi_alloc(u32 id)
......
......@@ -32,22 +32,22 @@
#define DEBUG_SUBSYSTEM S_OSC
#include "../../include/linux/libcfs/libcfs.h"
#include "../include/lustre_dlm.h"
#include "../include/lustre_net.h"
#include "../../include/uapi/linux/lustre/lustre_idl.h"
#include "../include/obd_cksum.h"
#include "../include/lustre_ha.h"
#include "../include/lprocfs_status.h"
#include "../../include/uapi/linux/lustre/lustre_ioctl.h"
#include "../include/lustre_debug.h"
#include "../include/lustre_obdo.h"
#include "../../include/uapi/linux/lustre/lustre_param.h"
#include "../include/lustre_fid.h"
#include "../include/obd_class.h"
#include "../include/obd.h"
#include <linux/libcfs/libcfs.h>
#include <lustre_dlm.h>
#include <lustre_net.h>
#include <uapi/linux/lustre/lustre_idl.h>
#include <obd_cksum.h>
#include <lustre_ha.h>
#include <lprocfs_status.h>
#include <uapi/linux/lustre/lustre_ioctl.h>
#include <lustre_debug.h>
#include <lustre_obdo.h>
#include <uapi/linux/lustre/lustre_param.h>
#include <lustre_fid.h>
#include <obd_class.h>
#include <obd.h>
#include "osc_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