diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 6a4604d8cf370e9a3d6dbfed7b8cd05385acef4a..66e874bd41195579cd50f883f9bb5718c61a59b8 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -1713,6 +1713,10 @@ Bugzilla : 16450 Description: Use cdebug_show() in CDEBUG-style macros defined outside of libcfs. Details : Use cdebug_show() in CDEBUG-style macros defined outside of libcfs. +Severity : normal +Bugzilla : 16450 +Description: Liblustre build fixes. +Details : Liblustre build fixes. -------------------------------------------------------------------------------- diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index 43ae1b769960af81863c1417c00e29eda3665ac9..21bc557862325b4c5f3311ad3d21ebec3e19ed88 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -385,8 +385,6 @@ static inline void fid_be_to_cpu(struct lu_fid *dst, const struct lu_fid *src) LASSERTF(fid_is_igif(dst) || fid_ver(dst) == 0, DFID"\n", PFID(dst)); } -#ifdef __KERNEL__ - /** * Storage representation for fids. * @@ -402,9 +400,6 @@ void fid_pack(struct lu_fid_pack *pack, const struct lu_fid *fid, struct lu_fid *befider); int fid_unpack(const struct lu_fid_pack *pack, struct lu_fid *fid); -/* __KERNEL__ */ -#endif - static inline int fid_is_sane(const struct lu_fid *fid) { return diff --git a/lustre/obdclass/lu_time.c b/lustre/obdclass/lu_time.c index 3751812805bce13470a55bd151e77d38d33dbdb5..66a8687262e7d5943b23a5c1c73c4cfba2e5591d 100644 --- a/lustre/obdclass/lu_time.c +++ b/lustre/obdclass/lu_time.c @@ -47,6 +47,7 @@ # define EXPORT_SYMTAB #endif +#include <obd_class.h> /* OBD_{ALLOC,FREE}_PTR() */ #include <obd_support.h> #include <lprocfs_status.h>