staging: lustre: mgc: add include path to Makefile

Rationalize include paths in the mgc 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:
James Simmons 2017-08-19 22:26:46 -04:00 committed by Greg Kroah-Hartman
parent 28c5522508
commit 7e270b3012
4 changed files with 16 additions and 13 deletions

View File

@ -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) += mgc.o
mgc-y := mgc_request.o lproc_mgc.o

View File

@ -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 "mgc_internal.h"
LPROC_SEQ_FOPS_RO_TYPE(mgc, connect_flags);

View File

@ -33,11 +33,11 @@
#ifndef _MGC_INTERNAL_H
#define _MGC_INTERNAL_H
#include "../../include/linux/libcfs/libcfs.h"
#include "../include/lustre_lib.h"
#include "../include/lustre_dlm.h"
#include "../include/lustre_log.h"
#include "../include/lustre_export.h"
#include <linux/libcfs/libcfs.h>
#include <lustre_lib.h>
#include <lustre_dlm.h>
#include <lustre_log.h>
#include <lustre_export.h>
void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars);
int lprocfs_mgc_rd_ir_state(struct seq_file *m, void *data);

View File

@ -39,12 +39,12 @@
#include <linux/module.h>
#include "../include/lprocfs_status.h"
#include "../include/lustre_dlm.h"
#include "../include/lustre_disk.h"
#include "../include/lustre_log.h"
#include "../include/lustre_swab.h"
#include "../include/obd_class.h"
#include <lprocfs_status.h>
#include <lustre_dlm.h>
#include <lustre_disk.h>
#include <lustre_log.h>
#include <lustre_swab.h>
#include <obd_class.h>
#include "mgc_internal.h"