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

staging: lustre: llite: add include path to Makefile

Rationalize include paths in the llite source code files.
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ea6882bf
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include
obj-$(CONFIG_LUSTRE_FS) += lustre.o obj-$(CONFIG_LUSTRE_FS) += lustre.o
lustre-y := dcache.o dir.o file.o llite_lib.o llite_nfs.o \ lustre-y := dcache.o dir.o file.o llite_lib.o llite_nfs.o \
rw.o rw26.o namei.o symlink.o llite_mmap.o range_lock.o \ rw.o rw26.o namei.o symlink.o llite_mmap.o range_lock.o \
......
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd_support.h" #include <obd_support.h>
#include "../../include/uapi/linux/lustre/lustre_idl.h" #include <uapi/linux/lustre/lustre_idl.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "llite_internal.h" #include "llite_internal.h"
......
...@@ -44,14 +44,14 @@ ...@@ -44,14 +44,14 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../../include/uapi/linux/lustre/lustre_ioctl.h" #include <uapi/linux/lustre/lustre_ioctl.h>
#include "../include/lustre_lib.h" #include <lustre_lib.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "../include/lustre_fid.h" #include <lustre_fid.h>
#include "../include/lustre_kernelcomm.h" #include <lustre_kernelcomm.h>
#include "../include/lustre_swab.h" #include <lustre_swab.h>
#include "llite_internal.h" #include "llite_internal.h"
......
...@@ -37,16 +37,16 @@ ...@@ -37,16 +37,16 @@
*/ */
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/file.h> #include <linux/file.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/mount.h> #include <linux/mount.h>
#include "../../include/uapi/linux/lustre/lustre_fiemap.h" #include <uapi/linux/lustre/lustre_fiemap.h>
#include "../../include/uapi/linux/lustre/lustre_ioctl.h" #include <uapi/linux/lustre/lustre_ioctl.h>
#include "../include/lustre_swab.h" #include <lustre_swab.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "llite_internal.h" #include "llite_internal.h"
static int static int
......
...@@ -36,18 +36,18 @@ ...@@ -36,18 +36,18 @@
* Author: Oleg Drokin <oleg.drokin@sun.com> * Author: Oleg Drokin <oleg.drokin@sun.com>
*/ */
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/obd_class.h" #include <obd_class.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/obd.h" #include <obd.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "../include/lustre_mdc.h" #include <lustre_mdc.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/file.h> #include <linux/file.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "../llite/llite_internal.h" #include "llite_internal.h"
static const struct cl_lock_descr whole_file = { static const struct cl_lock_descr whole_file = {
.cld_start = 0, .cld_start = 0,
......
...@@ -37,23 +37,23 @@ ...@@ -37,23 +37,23 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
# include <linux/fs.h> #include <linux/fs.h>
# include <linux/sched.h> #include <linux/sched.h>
# include <linux/mm.h> #include <linux/mm.h>
# include <linux/quotaops.h> #include <linux/quotaops.h>
# include <linux/highmem.h> #include <linux/highmem.h>
# include <linux/pagemap.h> #include <linux/pagemap.h>
# include <linux/rbtree.h> #include <linux/rbtree.h>
#include "../include/obd.h" #include <obd.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_fid.h" #include <lustre_fid.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "../include/lustre_mdc.h" #include <lustre_mdc.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "../llite/llite_internal.h" #include "llite_internal.h"
/* /*
* ccc_ prefix stands for "Common Client Code". * ccc_ prefix stands for "Common Client Code".
......
...@@ -34,10 +34,10 @@ ...@@ -34,10 +34,10 @@
* *
*/ */
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd_class.h" #include <obd_class.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/obd.h" #include <obd.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "llite_internal.h" #include "llite_internal.h"
......
...@@ -32,18 +32,18 @@ ...@@ -32,18 +32,18 @@
#ifndef LLITE_INTERNAL_H #ifndef LLITE_INTERNAL_H
#define LLITE_INTERNAL_H #define LLITE_INTERNAL_H
#include "../include/lustre_debug.h" #include <lustre_debug.h>
#include "../../include/uapi/linux/lustre/lustre_ver.h" #include <uapi/linux/lustre/lustre_ver.h>
#include "../include/lustre_disk.h" /* for s2sbi */ #include <lustre_disk.h> /* for s2sbi */
#include "../include/lustre_linkea.h" #include <lustre_linkea.h>
/* for struct cl_lock_descr and struct cl_io */ /* for struct cl_lock_descr and struct cl_io */
#include "../include/lustre_patchless_compat.h" #include <lustre_patchless_compat.h>
#include "../include/lustre_compat.h" #include <lustre_compat.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "../include/lustre_lmv.h" #include <lustre_lmv.h>
#include "../include/lustre_mdc.h" #include <lustre_mdc.h>
#include "../include/lustre_intent.h" #include <lustre_intent.h>
#include <linux/compat.h> #include <linux/compat.h>
#include <linux/namei.h> #include <linux/namei.h>
#include <linux/xattr.h> #include <linux/xattr.h>
......
...@@ -41,15 +41,15 @@ ...@@ -41,15 +41,15 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/mm.h> #include <linux/mm.h>
#include "../../include/uapi/linux/lustre/lustre_ioctl.h" #include <uapi/linux/lustre/lustre_ioctl.h>
#include "../include/lustre_ha.h" #include <lustre_ha.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "../include/lustre_disk.h" #include <lustre_disk.h>
#include "../../include/uapi/linux/lustre/lustre_param.h" #include <uapi/linux/lustre/lustre_param.h>
#include "../include/lustre_log.h" #include <lustre_log.h>
#include "../include/cl_object.h" #include <cl_object.h>
#include "../include/obd_cksum.h" #include <obd_cksum.h>
#include "llite_internal.h" #include "llite_internal.h"
struct kmem_cache *ll_file_data_slab; struct kmem_cache *ll_file_data_slab;
......
...@@ -31,9 +31,9 @@ ...@@ -31,9 +31,9 @@
*/ */
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "llite_internal.h" #include "llite_internal.h"
#include "vvp_internal.h" #include "vvp_internal.h"
......
...@@ -40,9 +40,9 @@ ...@@ -40,9 +40,9 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_fid.h" #include <lustre_fid.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "llite_internal.h" #include "llite_internal.h"
static int ll_create_it(struct inode *dir, struct dentry *dentry, static int ll_create_it(struct inode *dir, struct dentry *dentry,
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
* Author: Bobi Jam <bobijam.xu@intel.com> * Author: Bobi Jam <bobijam.xu@intel.com>
*/ */
#include "range_lock.h" #include "range_lock.h"
#include "../../include/uapi/linux/lustre/lustre_idl.h" #include <uapi/linux/lustre/lustre_idl.h>
/** /**
* Initialize a range lock tree * Initialize a range lock tree
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
#ifndef _RANGE_LOCK_H #ifndef _RANGE_LOCK_H
#define _RANGE_LOCK_H #define _RANGE_LOCK_H
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/interval_tree.h" #include <interval_tree.h>
struct range_lock { struct range_lock {
struct interval_node rl_node; struct interval_node rl_node;
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd_cksum.h" #include <obd_cksum.h>
#include "llite_internal.h" #include "llite_internal.h"
static void ll_ra_stats_inc_sbi(struct ll_sb_info *sbi, enum ra_stat which); static void ll_ra_stats_inc_sbi(struct ll_sb_info *sbi, enum ra_stat which);
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "llite_internal.h" #include "llite_internal.h"
#define SA_OMITTED_ENTRY_MAX 8ULL #define SA_OMITTED_ENTRY_MAX 8ULL
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/types.h> #include <linux/types.h>
#include "../include/lustre_ha.h" #include <lustre_ha.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/fs.h> #include <linux/fs.h>
#include "../include/lprocfs_status.h" #include <lprocfs_status.h>
#include "llite_internal.h" #include "llite_internal.h"
static struct kmem_cache *ll_inode_cachep; static struct kmem_cache *ll_inode_cachep;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd.h" #include <obd.h>
#include "llite_internal.h" #include "llite_internal.h"
#include "vvp_internal.h" #include "vvp_internal.h"
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
#ifndef VVP_INTERNAL_H #ifndef VVP_INTERNAL_H
#define VVP_INTERNAL_H #define VVP_INTERNAL_H
#include "../../include/uapi/linux/lustre/lustre_idl.h" #include <uapi/linux/lustre/lustre_idl.h>
#include "../include/cl_object.h" #include <cl_object.h>
enum obd_notify_event; enum obd_notify_event;
struct inode; struct inode;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd.h" #include <obd.h>
#include "llite_internal.h" #include "llite_internal.h"
#include "vvp_internal.h" #include "vvp_internal.h"
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd_support.h" #include <obd_support.h>
#include "vvp_internal.h" #include "vvp_internal.h"
......
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../../include/linux/libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "../include/obd.h" #include <obd.h>
#include "llite_internal.h" #include "llite_internal.h"
#include "vvp_internal.h" #include "vvp_internal.h"
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "llite_internal.h" #include "llite_internal.h"
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/mm.h> #include <linux/mm.h>
#include "../include/obd_support.h" #include <obd_support.h>
#include "../include/lustre_dlm.h" #include <lustre_dlm.h>
#include "llite_internal.h" #include "llite_internal.h"
/* If we ever have hundreds of extended attributes, we might want to consider /* If we ever have hundreds of extended attributes, we might want to consider
......
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