]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/bfs/inode.c
[PATCH] slab: remove kmem_cache_t
[net-next-2.6.git] / fs / bfs / inode.c
index 2e45123c8f7afd3f65858c9530d2128782257693..eac175ed9f445d999b3f8e5458f3a395de4c4a06 100644 (file)
@@ -228,7 +228,7 @@ static void bfs_write_super(struct super_block *s)
        unlock_kernel();
 }
 
-static kmem_cache_t * bfs_inode_cachep;
+static struct kmem_cache * bfs_inode_cachep;
 
 static struct inode *bfs_alloc_inode(struct super_block *sb)
 {
@@ -244,7 +244,7 @@ static void bfs_destroy_inode(struct inode *inode)
        kmem_cache_free(bfs_inode_cachep, BFS_I(inode));
 }
 
-static void init_once(void * foo, kmem_cache_t * cachep, unsigned long flags)
+static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flags)
 {
        struct bfs_inode_info *bi = foo;