]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ufs/super.c
[PATCH] slab: remove kmem_cache_t
[net-next-2.6.git] / fs / ufs / super.c
index 85a88c0c5e68495d6c6a949b92463cfea0f9c688..0b18d2cc2efa413be014aaff161dc46cfb90a004 100644 (file)
@@ -1204,7 +1204,7 @@ static int ufs_statfs(struct dentry *dentry, struct kstatfs *buf)
        return 0;
 }
 
-static kmem_cache_t * ufs_inode_cachep;
+static struct kmem_cache * ufs_inode_cachep;
 
 static struct inode *ufs_alloc_inode(struct super_block *sb)
 {
@@ -1221,7 +1221,7 @@ static void ufs_destroy_inode(struct inode *inode)
        kmem_cache_free(ufs_inode_cachep, UFS_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 ufs_inode_info *ei = (struct ufs_inode_info *) foo;