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-2675 build: assume __linux__ and __KERNEL__
[fs/lustre-release.git]
/
lustre
/
tests
/
checkfiemap.c
diff --git
a/lustre/tests/checkfiemap.c
b/lustre/tests/checkfiemap.c
index
b28beb6
..
cfb6445
100644
(file)
--- a/
lustre/tests/checkfiemap.c
+++ b/
lustre/tests/checkfiemap.c
@@
-44,10
+44,8
@@
# 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