From: Erez_Zadok Date: Fri, 16 Nov 2007 18:46:55 +0000 (-0500) Subject: Unionfs: kmem_cache_create doesn't take a dtor argument any longer X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=e129bd3c85341e37b87eaab5d0f20992e9839f2b;p=unionfs-odf.git Unionfs: kmem_cache_create doesn't take a dtor argument any longer Porting unionfs to 2.6.23-rc1 Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c index b4c489c50d..36f6bc033a 100644 --- a/fs/unionfs/lookup.c +++ b/fs/unionfs/lookup.c @@ -412,7 +412,7 @@ int unionfs_init_dentry_cache(void) unionfs_dentry_cachep = kmem_cache_create("unionfs_dentry", sizeof(struct unionfs_dentry_info), - 0, SLAB_RECLAIM_ACCOUNT, NULL, NULL); + 0, SLAB_RECLAIM_ACCOUNT, NULL); return (unionfs_dentry_cachep ? 0 : -ENOMEM); } diff --git a/fs/unionfs/rdstate.c b/fs/unionfs/rdstate.c index 290cb2c668..c899844a42 100644 --- a/fs/unionfs/rdstate.c +++ b/fs/unionfs/rdstate.c @@ -38,7 +38,7 @@ int unionfs_init_filldir_cache(void) unionfs_filldir_cachep = kmem_cache_create("unionfs_filldir", sizeof(struct filldir_node), 0, - SLAB_RECLAIM_ACCOUNT, NULL, NULL); + SLAB_RECLAIM_ACCOUNT, NULL); return (unionfs_filldir_cachep ? 0 : -ENOMEM); } diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index 261390fdd7..b523eae444 100644 --- a/fs/unionfs/super.c +++ b/fs/unionfs/super.c @@ -899,7 +899,7 @@ int unionfs_init_inode_cache(void) unionfs_inode_cachep = kmem_cache_create("unionfs_inode_cache", sizeof(struct unionfs_inode_info), 0, - SLAB_RECLAIM_ACCOUNT, init_once, NULL); + SLAB_RECLAIM_ACCOUNT, init_once); if (!unionfs_inode_cachep) err = -ENOMEM; return err;