Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-6345 test: compare /bin/sleep in sanity-hsm.sh test_30c
[fs/lustre-release.git]
/
lustre
/
tests
/
checkfiemap.c
diff --git
a/lustre/tests/checkfiemap.c
b/lustre/tests/checkfiemap.c
index
074f145
..
cfb6445
100644
(file)
--- a/
lustre/tests/checkfiemap.c
+++ b/
lustre/tests/checkfiemap.c
@@
-40,13
+40,12
@@
#include <getopt.h>
#ifndef HAVE_FIEMAP
#include <getopt.h>
#ifndef HAVE_FIEMAP
+# include <linux/types.h>
# include <linux/fiemap.h>
#endif
# include <linux/fiemap.h>
#endif
-#ifdef __linux__
-# ifndef FS_IOC_FIEMAP
-# define FS_IOC_FIEMAP (_IOWR('f', 11, struct fiemap))
-# endif
+#ifndef FS_IOC_FIEMAP
+# define FS_IOC_FIEMAP (_IOWR('f', 11, struct fiemap))
#endif
#define ONEMB 1048576
#endif
#define ONEMB 1048576