mtd/fs/jffs2 erase.c,1.57,1.58 nodelist.h,1.113,1.114 os-linux.h,1.40,1.41

David Woodhouse dwmw2 at infradead.org
Wed Nov 26 08:02:49 EST 2003


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

Modified Files:
	erase.c nodelist.h os-linux.h 
Log Message:
Move jffs2_erase_pending_trigger()

Index: erase.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/erase.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- erase.c	4 Nov 2003 14:46:13 -0000	1.57
+++ erase.c	26 Nov 2003 13:02:46 -0000	1.58
@@ -283,11 +283,6 @@
 	jeb->last_node = NULL;
 }
 
-void jffs2_erase_pending_trigger(struct jffs2_sb_info *c)
-{
-	OFNI_BS_2SFFJ(c)->s_dirt = 1;
-}
-
 static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
 {
 	struct jffs2_raw_node_ref *marker_ref = NULL;

Index: nodelist.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.h,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- nodelist.h	20 Nov 2003 16:40:14 -0000	1.113
+++ nodelist.h	26 Nov 2003 13:02:46 -0000	1.114
@@ -453,7 +453,6 @@
 /* erase.c */
 void jffs2_erase_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
 void jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count);
-void jffs2_erase_pending_trigger(struct jffs2_sb_info *c);
 
 #ifdef CONFIG_JFFS2_FS_NAND
 /* wbuf.c */

Index: os-linux.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/os-linux.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- os-linux.h	24 Nov 2003 12:07:28 -0000	1.40
+++ os-linux.h	26 Nov 2003 13:02:46 -0000	1.41
@@ -138,6 +138,12 @@
 void jffs2_nand_flash_cleanup(struct jffs2_sb_info *c);
 #endif /* NAND */
 
+/* erase.c */
+static inline void jffs2_erase_pending_trigger(struct jffs2_sb_info *c)
+{
+	OFNI_BS_2SFFJ(c)->s_dirt = 1;
+}
+
 /* background.c */
 int jffs2_start_garbage_collect_thread(struct jffs2_sb_info *c);
 void jffs2_stop_garbage_collect_thread(struct jffs2_sb_info *c);




More information about the linux-mtd-cvs mailing list