mtd/fs/jffs2 fs.c,1.5,1.6 compr_zlib.c,1.15,1.16

David Woodhouse dwmw2 at infradead.org
Wed Mar 27 04:57:27 EST 2002


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

Modified Files:
	fs.c compr_zlib.c 
Log Message:
some printk priorities

Index: fs.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/fs.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fs.c	17 Mar 2002 16:58:07 -0000	1.5
+++ fs.c	27 Mar 2002 09:57:24 -0000	1.6
@@ -325,7 +325,7 @@
 	if (sb->s_flags & MS_RDONLY)
 		return;
 
-	D1(printk("jffs2_write_super(): flush_wbuf before gc-trigger\n"));
+	D1(printk(KERN_DEBUG "jffs2_write_super(): flush_wbuf before gc-trigger\n"));
 	down(&c->alloc_sem);
 	jffs2_flush_wbuf(c, 2);
 	up(&c->alloc_sem);

Index: compr_zlib.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/compr_zlib.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- compr_zlib.c	4 Mar 2002 09:35:48 -0000	1.15
+++ compr_zlib.c	27 Mar 2002 09:57:24 -0000	1.16
@@ -65,17 +65,17 @@
 {
 	deflate_workspace = vmalloc(zlib_deflate_workspacesize());
 	if (!deflate_workspace) {
-		printk("Failed to allocate %d bytes for deflate workspace\n", zlib_deflate_workspacesize());
+		printk(KERN_WARNING "Failed to allocate %d bytes for deflate workspace\n", zlib_deflate_workspacesize());
 		return -ENOMEM;
 	}
-	D1(printk("Allocated %d bytes for deflate workspace\n", zlib_deflate_workspacesize()));
+	D1(printk(KERN_DEBUG "Allocated %d bytes for deflate workspace\n", zlib_deflate_workspacesize()));
 	inflate_workspace = vmalloc(zlib_inflate_workspacesize());
 	if (!inflate_workspace) {
-		printk("Failed to allocate %d bytes for inflate workspace\n", zlib_inflate_workspacesize());
+		printk(KERN_WARNING "Failed to allocate %d bytes for inflate workspace\n", zlib_inflate_workspacesize());
 		vfree(deflate_workspace);
 		return -ENOMEM;
 	}
-	D1(printk("Allocated %d bytes for inflate workspace\n", zlib_inflate_workspacesize()));
+	D1(printk(KERN_DEBUG "Allocated %d bytes for inflate workspace\n", zlib_inflate_workspacesize()));
 	return 0;
 }
 





More information about the linux-mtd-cvs mailing list