staging: lustre: mdc: add include path to Makefile
Rationalize include paths in the mdc source code files. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2efb9f5877
commit
28c5522508
|
@ -1,2 +1,5 @@
|
|||
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include
|
||||
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include
|
||||
|
||||
obj-$(CONFIG_LUSTRE_FS) += mdc.o
|
||||
mdc-y := mdc_request.o mdc_reint.o mdc_lib.o mdc_locks.o lproc_mdc.o
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
#define DEBUG_SUBSYSTEM S_CLASS
|
||||
|
||||
#include <linux/vfs.h>
|
||||
#include "../include/obd_class.h"
|
||||
#include "../include/lprocfs_status.h"
|
||||
#include <obd_class.h>
|
||||
#include <lprocfs_status.h>
|
||||
#include "mdc_internal.h"
|
||||
|
||||
static ssize_t active_show(struct kobject *kobj, struct attribute *attr,
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#ifndef _MDC_INTERNAL_H
|
||||
#define _MDC_INTERNAL_H
|
||||
|
||||
#include "../include/lustre_mdc.h"
|
||||
#include <lustre_mdc.h>
|
||||
|
||||
void lprocfs_mdc_init_vars(struct lprocfs_static_vars *lvars);
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
*/
|
||||
|
||||
#define DEBUG_SUBSYSTEM S_MDC
|
||||
#include "../include/lustre_net.h"
|
||||
#include "../../include/uapi/linux/lustre/lustre_idl.h"
|
||||
#include <lustre_net.h>
|
||||
#include <uapi/linux/lustre/lustre_idl.h>
|
||||
#include "mdc_internal.h"
|
||||
|
||||
static void set_mrc_cr_flags(struct mdt_rec_create *mrc, u64 flags)
|
||||
|
|
|
@ -32,17 +32,17 @@
|
|||
|
||||
#define DEBUG_SUBSYSTEM S_MDC
|
||||
|
||||
# include <linux/module.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#include "../include/lustre_intent.h"
|
||||
#include "../include/obd.h"
|
||||
#include "../include/obd_class.h"
|
||||
#include "../include/lustre_dlm.h"
|
||||
#include "../include/lustre_fid.h"
|
||||
#include "../include/lustre_mdc.h"
|
||||
#include "../include/lustre_net.h"
|
||||
#include "../include/lustre_req_layout.h"
|
||||
#include "../include/lustre_swab.h"
|
||||
#include <lustre_intent.h>
|
||||
#include <obd.h>
|
||||
#include <obd_class.h>
|
||||
#include <lustre_dlm.h>
|
||||
#include <lustre_fid.h>
|
||||
#include <lustre_mdc.h>
|
||||
#include <lustre_net.h>
|
||||
#include <lustre_req_layout.h>
|
||||
#include <lustre_swab.h>
|
||||
|
||||
#include "mdc_internal.h"
|
||||
|
||||
|
|
|
@ -35,9 +35,9 @@
|
|||
# include <linux/module.h>
|
||||
# include <linux/kernel.h>
|
||||
|
||||
#include "../include/obd_class.h"
|
||||
#include <obd_class.h>
|
||||
#include "mdc_internal.h"
|
||||
#include "../include/lustre_fid.h"
|
||||
#include <lustre_fid.h>
|
||||
|
||||
/* mdc_setattr does its own semaphore handling */
|
||||
static int mdc_reint(struct ptlrpc_request *request, int level)
|
||||
|
|
|
@ -38,19 +38,19 @@
|
|||
# include <linux/init.h>
|
||||
# include <linux/utsname.h>
|
||||
|
||||
#include "../include/lustre_errno.h"
|
||||
#include "../include/cl_object.h"
|
||||
#include "../include/llog_swab.h"
|
||||
#include "../include/lprocfs_status.h"
|
||||
#include "../include/lustre_acl.h"
|
||||
#include "../include/lustre_fid.h"
|
||||
#include "../../include/uapi/linux/lustre/lustre_ioctl.h"
|
||||
#include "../include/lustre_kernelcomm.h"
|
||||
#include "../include/lustre_lmv.h"
|
||||
#include "../include/lustre_log.h"
|
||||
#include "../../include/uapi/linux/lustre/lustre_param.h"
|
||||
#include "../include/lustre_swab.h"
|
||||
#include "../include/obd_class.h"
|
||||
#include <lustre_errno.h>
|
||||
#include <cl_object.h>
|
||||
#include <llog_swab.h>
|
||||
#include <lprocfs_status.h>
|
||||
#include <lustre_acl.h>
|
||||
#include <lustre_fid.h>
|
||||
#include <uapi/linux/lustre/lustre_ioctl.h>
|
||||
#include <lustre_kernelcomm.h>
|
||||
#include <lustre_lmv.h>
|
||||
#include <lustre_log.h>
|
||||
#include <uapi/linux/lustre/lustre_param.h>
|
||||
#include <lustre_swab.h>
|
||||
#include <obd_class.h>
|
||||
|
||||
#include "mdc_internal.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue