[SMB3] Fix oops when creating symlinks on smb3
[cascardo/linux.git] / include / linux / slab_def.h
index 09bfffb..8235dfb 100644 (file)
@@ -1,18 +1,20 @@
 #ifndef _LINUX_SLAB_DEF_H
 #define        _LINUX_SLAB_DEF_H
 
+#include <linux/reciprocal_div.h>
+
 /*
  * Definitions unique to the original Linux SLAB allocator.
  */
 
 struct kmem_cache {
-/* 1) Cache tunables. Protected by cache_chain_mutex */
+/* 1) Cache tunables. Protected by slab_mutex */
        unsigned int batchcount;
        unsigned int limit;
        unsigned int shared;
 
        unsigned int size;
-       u32 reciprocal_buffer_size;
+       struct reciprocal_value reciprocal_buffer_size;
 /* 2) touched by every alloc & free from the backend */
 
        unsigned int flags;             /* constant flags */