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
/
osd-ldiskfs
/
osd_dynlocks.c
diff --git
a/lustre/osd-ldiskfs/osd_dynlocks.c
b/lustre/osd-ldiskfs/osd_dynlocks.c
index
0e01a67
..
e14fab4
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_dynlocks.c
+++ b/
lustre/osd-ldiskfs/osd_dynlocks.c
@@
-26,7
+26,6
@@
* in that lockspace
*
*/
-#ifdef __KERNEL__
#include <linux/module.h>
#include <linux/slab.h>
@@
-219,4
+218,3
@@
int dynlock_is_locked(struct dynlock *dl, unsigned long value)
spin_unlock(&dl->dl_list_lock);
return result;
}
-#endif