From ce316f15fb2f37cfd0385a363e776c92630be7a3 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Fri, 1 Aug 2014 11:12:41 -0500 Subject: [PATCH] LU-5442 lustre: always include libcfs.h in lustre_idl.h Unconditionally include libcfs.h in lustre_idl.h. Since the landing of LU-5327 libcfs: add libcfs/types.h it is possible to get definitions for LPU64 without including libcfs.h. (Technically it was always possible, but now it's much easier.) The outer include guard was added in LU-113: make lustre_{idl,user}.h nice to userspace. Since we no longer package lustre_idl.h we remove this guard. Signed-off-by: John L. Hammond Change-Id: I55a453669fcd821f974d6f69ebc741595984d98d Reviewed-on: http://review.whamcloud.com/11308 Tested-by: Jenkins Reviewed-by: James Simmons Tested-by: Maloo Reviewed-by: Bob Glossman Reviewed-by: Dmitry Eremin Reviewed-by: Alex Zhuravlev Reviewed-by: Oleg Drokin --- lustre/include/lustre/lustre_idl.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index ba64fd0..dcd9923 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -91,13 +91,8 @@ #ifndef _LUSTRE_IDL_H_ #define _LUSTRE_IDL_H_ -#if !defined(LPU64) #include /* for LPUX64, etc */ -#endif - -/* Defn's shared with user-space. */ -#include - +#include /* Defn's shared with user-space. */ #include #include -- 1.8.3.1