Whamcloud - gitweb
LU-2675 build: assume __linux__ and __KERNEL__
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_dynlocks.c
index 0e01a67..e14fab4 100644 (file)
@@ -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