* in that lockspace
*
*/
-#ifdef __KERNEL__
#include <linux/module.h>
#include <linux/slab.h>
#include <obd_support.h>
#include "osd_dynlocks.h"
-
-extern struct kmem_cache *dynlock_cachep;
+#include "osd_internal.h"
#define DYNLOCK_HANDLE_MAGIC 0xd19a10c
#define DYNLOCK_HANDLE_DEAD 0xd1956ee
spin_unlock(&dl->dl_list_lock);
return result;
}
-#endif