The umode_t typedef in libcfs/include/libcfs/posix/posix-types.h is no
longer needed and causes lustre_user.h to be unusable outside of the
lustre tree on powerpc64 so remove it.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Id38a5b3bb998743c3fd29a244aafea421f94c080
Reviewed-on: http://review.whamcloud.com/11055
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
# libcfs/libcfs/user-prim.c, missing for RHEL5 and earlier userspace
AC_CHECK_FUNCS([strlcat])
# libcfs/libcfs/user-prim.c, missing for RHEL5 and earlier userspace
AC_CHECK_FUNCS([strlcat])
-AC_CHECK_TYPE([umode_t],
- [AC_DEFINE(HAVE_UMODE_T, 1, [umode_t is defined])],
- [],
- [#include <asm/types.h>])
-
# -------- Check for required packages --------------
AC_MSG_NOTICE([LibCFS required packages checks
# -------- Check for required packages --------------
AC_MSG_NOTICE([LibCFS required packages checks
# include <linux/types.h>
#endif
#include <stdbool.h> /* for bool */
# include <linux/types.h>
#endif
#include <stdbool.h> /* for bool */
-#ifndef HAVE_UMODE_T
-typedef unsigned short umode_t;
-#else
-#endif
#ifndef _LINUX_TYPES_H
/*
#ifndef _LINUX_TYPES_H
/*