staging: lustre: lustre: cleanup paths for lustre UAPI headers
authorJames Simmons <jsimmons@infradead.org>
Sun, 20 Aug 2017 02:26:51 +0000 (22:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:36:52 +0000 (18:36 -0700)
Rationalize include paths for the lustre uapi headers

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/uapi/linux/lustre/lustre_cfg.h
drivers/staging/lustre/include/uapi/linux/lustre/lustre_fid.h
drivers/staging/lustre/include/uapi/linux/lustre/lustre_idl.h
drivers/staging/lustre/include/uapi/linux/lustre/lustre_ioctl.h
drivers/staging/lustre/include/uapi/linux/lustre/lustre_ostid.h
drivers/staging/lustre/include/uapi/linux/lustre/lustre_user.h

index 2b7deaa1e0a91cc5e5ece1c8502bf4b1a6485ce5..11b51d93f64c1d09eb506bda42b167c700d9059d 100644 (file)
@@ -35,7 +35,7 @@
 
 #include <linux/errno.h>
 #include <linux/kernel.h>
-#include "../../../uapi/linux/lustre/lustre_user.h"
+#include <uapi/linux/lustre/lustre_user.h>
 
 /** \defgroup cfg cfg
  *
index dd3785adb8ea79b0e9de396b814de9921b982a7a..2e7a8d103777d297dd2a77b7f8bc267be14ae45f 100644 (file)
@@ -37,7 +37,7 @@
 #ifndef _UAPI_LUSTRE_FID_H_
 #define _UAPI_LUSTRE_FID_H_
 
-#include "../../../uapi/linux/lustre/lustre_idl.h"
+#include <uapi/linux/lustre/lustre_idl.h>
 
 /** returns fid object sequence */
 static inline __u64 fid_seq(const struct lu_fid *fid)
index cc59c1a44b237e161f12744dcf57e0578880b4e2..aac98dbcf6e37853a27466236a48ccb8555d1733 100644 (file)
 #include <asm/byteorder.h>
 #include <linux/types.h>
 
-#include "../lnet/lnet-types.h"
+#include <uapi/linux/lnet/lnet-types.h>
 /* Defn's shared with user-space. */
-#include "lustre_user.h"
-#include "lustre_ver.h"
+#include <uapi/linux/lustre/lustre_user.h>
+#include <uapi/linux/lustre/lustre_ver.h>
 
 /*
  *  GENERAL STUFF
index 1f52477667f27f9d82b8e701120af49eaea7a7ae..9590864e0b50f620fe4e803f796a8cc73ef4e733 100644 (file)
@@ -31,7 +31,7 @@
 #include <linux/ioctl.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
-#include "../../../uapi/linux/lustre/lustre_idl.h"
+#include <uapi/linux/lustre/lustre_idl.h>
 
 #if !defined(__KERNEL__) && !defined(LUSTRE_UTILS)
 # error This file is for Lustre internal use only.
index 9110229b088638f5bca8580f8f753547cce93242..3343b602219b1106eab4bb9eb53aed0ebc3bc1af 100644 (file)
@@ -35,7 +35,7 @@
 #define _UAPI_LUSTRE_OSTID_H_
 
 #include <linux/errno.h>
-#include "lustre_fid.h"
+#include <uapi/linux/lustre/lustre_fid.h>
 
 static inline __u64 lmm_oi_id(const struct ost_id *oi)
 {
index 2fcfe2b2d36515c160185ea2828094697e017841..5e332e3af68a775fd5feba8401199230ef2c1b75 100644 (file)
@@ -55,7 +55,7 @@
 # include <sys/quota.h>
 # include <sys/stat.h>
 #endif /* __KERNEL__ */
-#include "lustre_fiemap.h"
+#include <uapi/linux/lustre/lustre_fiemap.h>
 
 /*
  * We need to always use 64bit version because the structure