staging: lustre: lnet: cleanup paths for all LNet headers

Rationalize include paths in all the lnet header 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:58 -04:00 committed by Greg Kroah-Hartman
parent d3d09f6f77
commit 30b7b04c46
7 changed files with 16 additions and 16 deletions

View file

@ -44,7 +44,7 @@
* @{ * @{
*/ */
#include "../../uapi/linux/lnet/lnet-types.h" #include <uapi/linux/lnet/lnet-types.h>
/** \defgroup lnet_init_fini Initialization and cleanup /** \defgroup lnet_init_fini Initialization and cleanup
* The LNet must be properly initialized before any LNet calls can be made. * The LNet must be properly initialized before any LNet calls can be made.

View file

@ -35,13 +35,13 @@
#ifndef __LNET_LIB_LNET_H__ #ifndef __LNET_LIB_LNET_H__
#define __LNET_LIB_LNET_H__ #define __LNET_LIB_LNET_H__
#include "../libcfs/libcfs.h" #include <linux/libcfs/libcfs.h>
#include "api.h" #include <linux/lnet/api.h>
#include "lib-types.h" #include <linux/lnet/lib-types.h>
#include "../../uapi/linux/lnet/lnet-dlc.h" #include <uapi/linux/lnet/lnet-dlc.h>
#include "../../uapi/linux/lnet/lnet-types.h" #include <uapi/linux/lnet/lnet-types.h>
#include "../../uapi/linux/lnet/lnetctl.h" #include <uapi/linux/lnet/lnetctl.h>
#include "../../uapi/linux/lnet/nidstr.h" #include <uapi/linux/lnet/nidstr.h>
extern struct lnet the_lnet; /* THE network */ extern struct lnet the_lnet; /* THE network */

View file

@ -40,8 +40,8 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/completion.h> #include <linux/completion.h>
#include "../../uapi/linux/lnet/lnet-types.h" #include <uapi/linux/lnet/lnet-types.h>
#include "../../uapi/linux/lnet/lnetctl.h" #include <uapi/linux/lnet/lnetctl.h>
/* Max payload size */ /* Max payload size */
#define LNET_MAX_PAYLOAD CONFIG_LNET_MAX_PAYLOAD #define LNET_MAX_PAYLOAD CONFIG_LNET_MAX_PAYLOAD

View file

@ -34,8 +34,8 @@
#ifndef __LNET_LNET_SOCKLND_H__ #ifndef __LNET_LNET_SOCKLND_H__
#define __LNET_LNET_SOCKLND_H__ #define __LNET_LNET_SOCKLND_H__
#include "../../uapi/linux/lnet/lnet-types.h" #include <uapi/linux/lnet/lnet-types.h>
#include "../../uapi/linux/lnet/socklnd.h" #include <uapi/linux/lnet/socklnd.h>
struct ksock_hello_msg { struct ksock_hello_msg {
__u32 kshm_magic; /* magic number of socklnd message */ __u32 kshm_magic; /* magic number of socklnd message */

View file

@ -29,8 +29,8 @@
#ifndef LNET_DLC_H #ifndef LNET_DLC_H
#define LNET_DLC_H #define LNET_DLC_H
#include "libcfs_ioctl.h" #include <uapi/linux/lnet/libcfs_ioctl.h>
#include "lnet-types.h" #include <uapi/linux/lnet/lnet-types.h>
#define MAX_NUM_SHOW_ENTRIES 32 #define MAX_NUM_SHOW_ENTRIES 32
#define LNET_MAX_STR_LEN 128 #define LNET_MAX_STR_LEN 128

View file

@ -15,7 +15,7 @@
#ifndef _LNETCTL_H_ #ifndef _LNETCTL_H_
#define _LNETCTL_H_ #define _LNETCTL_H_
#include "lnet-types.h" #include <uapi/linux/lnet/lnet-types.h>
/** \addtogroup lnet_fault_simulation /** \addtogroup lnet_fault_simulation
* @{ * @{

View file

@ -28,7 +28,7 @@
#ifndef _LNET_NIDSTRINGS_H #ifndef _LNET_NIDSTRINGS_H
#define _LNET_NIDSTRINGS_H #define _LNET_NIDSTRINGS_H
#include "lnet-types.h" #include <uapi/linux/lnet/lnet-types.h>
/** /**
* Lustre Network Driver types. * Lustre Network Driver types.