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

staging: lustre: uapi: cleanup headers for lustre_ioctl.h

With the cleanups we no longer need to drag in tons of
user land headers. Lets simplify the include headers.
Signed-off-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401
Reviewed-on: https://review.whamcloud.com/24568Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Reviewed-by: default avatarBen Evans <bevans@cray.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 30bfc478
...@@ -28,19 +28,11 @@ ...@@ -28,19 +28,11 @@
#ifndef LUSTRE_IOCTL_H_ #ifndef LUSTRE_IOCTL_H_
#define LUSTRE_IOCTL_H_ #define LUSTRE_IOCTL_H_
#include <linux/ioctl.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/types.h> #include <linux/types.h>
#include "../../../../lustre/include/lustre/lustre_idl.h" #include "../../../../lustre/include/lustre/lustre_idl.h"
#ifdef __KERNEL__
# include <linux/ioctl.h>
# include <linux/string.h>
#else /* __KERNEL__ */
# include <malloc.h>
# include <string.h>
#include <libcfs/util/ioctl.h>
#endif /* !__KERNEL__ */
#if !defined(__KERNEL__) && !defined(LUSTRE_UTILS) #if !defined(__KERNEL__) && !defined(LUSTRE_UTILS)
# error This file is for Lustre internal use only. # error This file is for Lustre internal use only.
#endif #endif
......
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