#ifndef __UAPI_LIBCFS_DEBUG_H__
#define __UAPI_LIBCFS_DEBUG_H__
+#include <linux/types.h>
+
/**
* Format for debug message headers
*/
#ifndef __UAPI_LNET_DLC_H_
#define __UAPI_LNET_DLC_H_
+#include <linux/types.h>
/*
* This is due to us being out of kernel and the way the OpenSFS branch
* handles CFLAGS.
#ifndef __UAPI_LNETCTL_H_
#define __UAPI_LNETCTL_H_
+#include <linux/types.h>
/*
* This is due to us being out of kernel and the way the OpenSFS branch
* handles CFLAGS.
#ifndef __UAPI_LNET_ST_H__
#define __UAPI_LNET_ST_H__
+#include <linux/types.h>
+
#define LST_FEAT_NONE (0)
#define LST_FEAT_BULK_LEN (1 << 0) /* enable variable page size */
#ifndef _LNET_NIDSTRINGS_H
#define _LNET_NIDSTRINGS_H
+#include <linux/types.h>
/*
* This is due to us being out of kernel and the way the OpenSFS branch
* handles CFLAGS.
#ifndef _LUSTRE_BARRIER_USER_H
# define _LUSTRE_BARRIER_USER_H
+#include <linux/types.h>
/*
* This is due to us being out of kernel and the way the OpenSFS branch
* handles CFLAGS.
#include <linux/errno.h>
#include <linux/kernel.h>
+#include <linux/types.h>
/*
* This is due to us being out of kernel and the way the OpenSFS branch
* handles CFLAGS.
#ifndef _UAPI_LUSTRE_FID_H_
#define _UAPI_LUSTRE_FID_H_
+#include <linux/types.h>
/*
* This is due to us being out of kernel and the way the OpenSFS branch
* handles CFLAGS.
#include <stddef.h>
#include <linux/fiemap.h>
#endif
+#include <linux/types.h>
/* XXX: We use fiemap_extent::fe_reserved[0] */
#define fe_device fe_reserved[0]
#ifndef _LUSTRE_LOG_USER_H
#define _LUSTRE_LOG_USER_H
+#include <linux/types.h>
/*
* This is due to us being out of kernel and the way the OpenSFS branch
* handles CFLAGS.
#define _UAPI_LUSTRE_OSTID_H_
#include <linux/errno.h>
+#include <linux/types.h>
/*
* This is due to us being out of kernel and the way the OpenSFS branch
* handles CFLAGS.
# bug number for skipped test:
# LU-10334 LU-10335 LU-10335 LU-10335
ALWAYS_EXCEPT+=" 103a 130a 130b 130c"
- # LU-10335 LU-10335 LU-10365 LU-10366
- ALWAYS_EXCEPT+=" 130d 130e 400a 410"
+ # LU-10335 LU-10335 LU-10366
+ ALWAYS_EXCEPT+=" 130d 130e 410"
fi
fi
fi
if ! [[ -d $prefix ]]; then
# Assume we're running in tree and fixup the include path.
- extra_flags+=" -I$LUSTRE/include"
- extra_flags+=" -L$LUSTRE/utils"
+ extra_flags+=" -I$LUSTRE/../lnet/include/uapi -I$LUSTRE/include/uapi -I$LUSTRE/include"
+ extra_flags+=" -L$LUSTRE/utils/.lib"
fi
for prog in $LUSTRE_TESTS_API_DIR/*.c; do
- $CC -Wall -Werror $extra_flags -llustreapi -o $out $prog ||
+ $CC -Wall -Werror $extra_flags -o $out $prog -llustreapi ||
error "client api broken"
done
rm -f $out