mtd/fs/jffs2 super.c,1.77,1.78

David Woodhouse dwmw2 at infradead.org
Tue May 27 18:33:58 EDT 2003


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv17478

Modified Files:
	super.c 
Log Message:
mark jffs2_inode_info slab as reclaimable

Index: super.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/super.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- super.c	22 Jan 2003 14:39:18 -0000	1.77
+++ super.c	27 May 2003 22:33:55 -0000	1.78
@@ -298,7 +298,7 @@
 
 	jffs2_inode_cachep = kmem_cache_create("jffs2_i",
 					     sizeof(struct jffs2_inode_info),
-					     0, SLAB_HWCACHE_ALIGN,
+					     0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT,
 					     jffs2_i_init_once, NULL);
 	if (!jffs2_inode_cachep) {
 		printk(KERN_ERR "JFFS2 error: Failed to initialise inode cache\n");




More information about the linux-mtd-cvs mailing list