]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/buffer.c
[PATCH] slab: remove kmem_cache_t
[net-next-2.6.git] / fs / buffer.c
index 35527dca1dbcc415d95d76780537c577808df9ff..a8ca0ac2148893cfd37685a2ef4e190c8e6bcbaf 100644 (file)
@@ -2908,7 +2908,7 @@ asmlinkage long sys_bdflush(int func, long data)
 /*
  * Buffer-head allocation
  */
-static kmem_cache_t *bh_cachep;
+static struct kmem_cache *bh_cachep;
 
 /*
  * Once the number of bh's in the machine exceeds this level, we start
@@ -2961,7 +2961,7 @@ void free_buffer_head(struct buffer_head *bh)
 EXPORT_SYMBOL(free_buffer_head);
 
 static void
-init_buffer_head(void *data, kmem_cache_t *cachep, unsigned long flags)
+init_buffer_head(void *data, struct kmem_cache *cachep, unsigned long flags)
 {
        if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
                            SLAB_CTOR_CONSTRUCTOR) {