commit 845d6eeae50415930360033f33a5d6b741229e11
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Fri Nov 16 13:46:55 2007 -0500
Unionfs: kmem_cache_create doesn't take a dtor argument any longer
Porting unionfs to 2.6.23-rc1
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c
index b4c489c..36f6bc0 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 290cb2c..c899844 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 261390f..b523eae 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;
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs