mtd/fs/jffs2 write.c,1.89,1.90

hammache at infradead.org hammache at infradead.org
Fri Jan 28 13:53:05 EST 2005


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

Modified Files:
	write.c 
Log Message:
Leading brace correction ("Linux kernel coding style").



Index: write.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/write.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- write.c	25 Jan 2005 20:11:11 -0000	1.89
+++ write.c	28 Jan 2005 18:53:01 -0000	1.90
@@ -136,8 +136,7 @@
 	raw->__totlen = PAD(sizeof(*ri)+datalen);
 	raw->next_phys = NULL;
 
-	if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(ri->version) < f->highest_version))
-	{
+	if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(ri->version) < f->highest_version)) {
 		BUG_ON(!retried);
 		D1(printk(KERN_DEBUG "jffs2_write_dnode : dnode_version %d, "
 				"highest version %d -> updating dnode\n", 
@@ -290,8 +289,7 @@
 	raw->__totlen = PAD(sizeof(*rd)+namelen);
 	raw->next_phys = NULL;
 
-	if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(rd->version) < f->highest_version))
-	{
+	if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(rd->version) < f->highest_version)) {
 		BUG_ON(!retried);
 		D1(printk(KERN_DEBUG "jffs2_write_dirent : dirent_version %d, "
 				     "highest version %d -> updating dirent\n",





More information about the linux-mtd-cvs mailing list