mtd/fs/jffs2 wbuf.c,1.90,1.91

Artem Bityuckiy dedekind at infradead.org
Fri Mar 18 04:58:09 EST 2005


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

Modified Files:
	wbuf.c 
Log Message:
Use the corresponding function to mark Superblock dirty instead of doing it directly.


Index: wbuf.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/wbuf.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- wbuf.c	17 Mar 2005 20:23:06 -0000	1.90
+++ wbuf.c	18 Mar 2005 09:58:06 -0000	1.91
@@ -83,7 +83,7 @@
 	struct jffs2_inodirty *new;
 
 	/* Mark the superblock dirty so that kupdated will flush... */
-	OFNI_BS_2SFFJ(c)->s_dirt = 1;
+	jffs2_erase_pending_trigger(c);
 
 	if (jffs2_wbuf_pending_for_ino(c, ino))
 		return;





More information about the linux-mtd-cvs mailing list