Skip to content

Commit

Permalink
staging: lustre: lnet: cleanup paths for all LNet headers
Browse files Browse the repository at this point in the history
Rationalize include paths in all the lnet header files.

Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jamesasimmons authored and gregkh committed Aug 23, 2017
1 parent d3d09f6 commit 30b7b04
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/lustre/include/linux/lnet/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
* The LNet must be properly initialized before any LNet calls can be made.
Expand Down
14 changes: 7 additions & 7 deletions drivers/staging/lustre/include/linux/lnet/lib-lnet.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
#ifndef __LNET_LIB_LNET_H__
#define __LNET_LIB_LNET_H__

#include "../libcfs/libcfs.h"
#include "api.h"
#include "lib-types.h"
#include "../../uapi/linux/lnet/lnet-dlc.h"
#include "../../uapi/linux/lnet/lnet-types.h"
#include "../../uapi/linux/lnet/lnetctl.h"
#include "../../uapi/linux/lnet/nidstr.h"
#include <linux/libcfs/libcfs.h>
#include <linux/lnet/api.h>
#include <linux/lnet/lib-types.h>
#include <uapi/linux/lnet/lnet-dlc.h>
#include <uapi/linux/lnet/lnet-types.h>
#include <uapi/linux/lnet/lnetctl.h>
#include <uapi/linux/lnet/nidstr.h>

extern struct lnet the_lnet; /* THE network */

Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/lustre/include/linux/lnet/lib-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
#include <linux/types.h>
#include <linux/completion.h>

#include "../../uapi/linux/lnet/lnet-types.h"
#include "../../uapi/linux/lnet/lnetctl.h"
#include <uapi/linux/lnet/lnet-types.h>
#include <uapi/linux/lnet/lnetctl.h>

/* Max payload size */
#define LNET_MAX_PAYLOAD CONFIG_LNET_MAX_PAYLOAD
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/lustre/include/linux/lnet/socklnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#ifndef __LNET_LNET_SOCKLND_H__
#define __LNET_LNET_SOCKLND_H__

#include "../../uapi/linux/lnet/lnet-types.h"
#include "../../uapi/linux/lnet/socklnd.h"
#include <uapi/linux/lnet/lnet-types.h>
#include <uapi/linux/lnet/socklnd.h>

struct ksock_hello_msg {
__u32 kshm_magic; /* magic number of socklnd message */
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/lustre/include/uapi/linux/lnet/lnet-dlc.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#ifndef LNET_DLC_H
#define LNET_DLC_H

#include "libcfs_ioctl.h"
#include "lnet-types.h"
#include <uapi/linux/lnet/libcfs_ioctl.h>
#include <uapi/linux/lnet/lnet-types.h>

#define MAX_NUM_SHOW_ENTRIES 32
#define LNET_MAX_STR_LEN 128
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/lustre/include/uapi/linux/lnet/lnetctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef _LNETCTL_H_
#define _LNETCTL_H_

#include "lnet-types.h"
#include <uapi/linux/lnet/lnet-types.h>

/** \addtogroup lnet_fault_simulation
* @{
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/lustre/include/uapi/linux/lnet/nidstr.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef _LNET_NIDSTRINGS_H
#define _LNET_NIDSTRINGS_H

#include "lnet-types.h"
#include <uapi/linux/lnet/lnet-types.h>

/**
* Lustre Network Driver types.
Expand Down

0 comments on commit 30b7b04

Please sign in to comment.