Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1711124
| From | James Simmons <jsimmons@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 14/64] staging: lustre: uapi: cleanup headers for lustre_ioctl.h |
| Date | 2017-08-14 18:10 +0200 |
| Message-ID | <ueq6f-6jm-43@gated-at.bofh.it> (permalink) |
| References | <uepMR-5WA-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
With the cleanups we no longer need to drag in tons of user land headers. Lets simplify the include headers. Signed-off-by: James Simmons <uja.ornl@yahoo.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401 Reviewed-on: https://review.whamcloud.com/24568 Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Ben Evans <bevans@cray.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> --- .../staging/lustre/include/uapi/linux/lustre/lustre_ioctl.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/staging/lustre/include/uapi/linux/lustre/lustre_ioctl.h b/drivers/staging/lustre/include/uapi/linux/lustre/lustre_ioctl.h index a7e2fc4..fb87a8b 100644 --- a/drivers/staging/lustre/include/uapi/linux/lustre/lustre_ioctl.h +++ b/drivers/staging/lustre/include/uapi/linux/lustre/lustre_ioctl.h @@ -28,19 +28,11 @@ #ifndef LUSTRE_IOCTL_H_ #define LUSTRE_IOCTL_H_ +#include <linux/ioctl.h> #include <linux/kernel.h> #include <linux/types.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) # error This file is for Lustre internal use only. #endif -- 1.8.3.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/64] staging: lustre: uapi: normalize the lustre headers James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 12/64] staging: lustre: uapi: move lustre_ioctl.h to uapi directory James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 10/64] staging: lustre: uapi: move obd_ioctl_getdata() declaration James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 06/64] staging: lustre: uapi: remove unused function in lustre_disk.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 14/64] staging: lustre: uapi: cleanup headers for lustre_ioctl.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 04/64] staging: lustre: uapi: update URL doc link in lustre_fid.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 02/64] staging: lustre: uapi: remove unused functions for lustre_fid.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 16/64] staging: lustre: uapi: move kernel only prototypes out of lustre_param.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 05/64] staging: lustre: uapi: move lu_fid, ost_id funcs out of lustre_idl.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 Re: [PATCH 00/64] staging: lustre: uapi: normalize the lustre headers Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-17 18:30 +0200
csiph-web