head	1.1;
access;
symbols
	LKML-branch:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2006.10.25.08.24.32;	author jsipek;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2006.10.25.08.24.32;	author jsipek;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2006.11.07.06.13.33;	author jsipek;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2006.11.28.08.17.51;	author jsipek;	state dead;
branches;
next	;


desc
@@


1.1
log
@file unionfs-struct_kmem_cache was initially added on branch LKML-branch.
@
text
@@


1.1.2.1
log
@Use struct kmem_cache in favor of kmem_cache_t
@
text
@a0 53
diff -r 5ca18b8d1b33 fs/unionfs/lookup.c
--- a/fs/unionfs/lookup.c	Wed Oct 25 04:08:42 2006 -0400
+++ b/fs/unionfs/lookup.c	Wed Oct 25 04:17:42 2006 -0400
@@@@ -393,7 +393,7 @@@@ static int is_validname(const char *name
 }
 
 /* The dentry cache is just so we have properly sized dentries. */
-static kmem_cache_t *unionfs_dentry_cachep;
+static struct kmem_cache *unionfs_dentry_cachep;
 int init_dentry_cache(void)
 {
 	unionfs_dentry_cachep =
diff -r 5ca18b8d1b33 fs/unionfs/rdstate.c
--- a/fs/unionfs/rdstate.c	Wed Oct 25 04:08:42 2006 -0400
+++ b/fs/unionfs/rdstate.c	Wed Oct 25 04:18:05 2006 -0400
@@@@ -22,11 +22,11 @@@@
 /* There are two structures here, rdstate which is a hash table
  * of the second structure which is a filldir_node. */
 
-/* This is a kmem_cache_t for filldir nodes, because we allocate a lot of them
- * and they shouldn't waste memory.  If the node has a small name (as defined
- * by the dentry structure), then we use an inline name to preserve kmalloc
- * space. */
-static kmem_cache_t *unionfs_filldir_cachep;
+/* This is a struct kmem_cache for filldir nodes, because we allocate a lot
+ * of them and they shouldn't waste memory.  If the node has a small name
+ * (as defined by the dentry structure), then we use an inline name to
+ * preserve kmalloc space. */
+static struct kmem_cache *unionfs_filldir_cachep;
 int init_filldir_cache(void)
 {
 	unionfs_filldir_cachep =
diff -r 5ca18b8d1b33 fs/unionfs/super.c
--- a/fs/unionfs/super.c	Wed Oct 25 04:08:42 2006 -0400
+++ b/fs/unionfs/super.c	Wed Oct 25 04:18:19 2006 -0400
@@@@ -20,7 +20,7 @@@@
 
 /* The inode cache is used with alloc_inode for both our inode info and the
  * vfs inode.  */
-static kmem_cache_t *unionfs_inode_cachep;
+static struct kmem_cache *unionfs_inode_cachep;
 
 static void unionfs_read_inode(struct inode *inode)
 {
@@@@ -204,7 +204,7 @@@@ static void unionfs_destroy_inode(struct
 	kmem_cache_free(unionfs_inode_cachep, itopd(inode));
 }
 
-static void init_once(void *v, kmem_cache_t * cachep, unsigned long flags)
+static void init_once(void *v, struct kmem_cache * cachep, unsigned long flags)
 {
 	struct unionfs_inode_container *c = v;
 
@


1.1.2.2
log
@Git generates slightly different diffs - same information, just little
different
@
text
@d1 3
a3 4
diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c
index 51579e3..046f42c 100644
--- a/fs/unionfs/lookup.c
+++ b/fs/unionfs/lookup.c
d13 4
a16 5
diff --git a/fs/unionfs/rdstate.c b/fs/unionfs/rdstate.c
index 72668d2..74d51c8 100644
--- a/fs/unionfs/rdstate.c
+++ b/fs/unionfs/rdstate.c
@@@@ -22,11 +22,11 @@@@ #include "union.h"
d33 4
a36 5
diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index 5ddfb1c..6018c75 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@@@ -20,7 +20,7 @@@@ #include "union.h"
@


1.1.2.3
log
@Collapse unionfs-struct_kmem_cache
@
text
@@


