mtd/fs/jffs2 nodelist.h,1.90,1.91 readinode.c,1.98,1.99
David Woodhouse
dwmw2 at infradead.org
Sat Jan 18 15:12:21 EST 2003
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv1763
Modified Files:
nodelist.h readinode.c
Log Message:
jffs2_add_full_dnode_to_fraglist is no longer called from elsewhere.
Make it static and rename it.
Index: nodelist.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.h,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- nodelist.h 17 Jan 2003 16:04:16 -0000 1.90
+++ nodelist.h 18 Jan 2003 20:12:19 -0000 1.91
@@ -326,7 +326,6 @@
/* readinode.c */
void jffs2_truncate_fraglist (struct jffs2_sb_info *c, struct rb_root *list, uint32_t size);
-int jffs2_add_full_dnode_to_fraglist(struct jffs2_sb_info *c, struct rb_root *list, struct jffs2_full_dnode *fn);
int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn);
int jffs2_do_read_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
uint32_t ino, struct jffs2_raw_inode *latest_node);
Index: readinode.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/readinode.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- readinode.c 17 Jan 2003 16:04:16 -0000 1.98
+++ readinode.c 18 Jan 2003 20:12:19 -0000 1.99
@@ -21,6 +21,7 @@
#include <linux/compiler.h>
#include "nodelist.h"
+static int jffs2_add_full_dnode_to_fragtree(struct jffs2_sb_info *c, struct rb_root *list, struct jffs2_full_dnode *fn);
D1(static void jffs2_print_fragtree(struct rb_root *list, int permitbug)
{
@@ -65,7 +66,7 @@
int ret;
D1(printk(KERN_DEBUG "jffs2_add_full_dnode_to_inode(ino #%u, f %p, fn %p)\n", f->inocache->ino, f, fn));
- ret = jffs2_add_full_dnode_to_fraglist(c, &f->fragtree, fn);
+ ret = jffs2_add_full_dnode_to_fragtree(c, &f->fragtree, fn);
D2(jffs2_print_frag_list(f));
return ret;
@@ -93,7 +94,7 @@
}
/* Doesn't set inode->i_size */
-int jffs2_add_full_dnode_to_fraglist(struct jffs2_sb_info *c, struct rb_root *list, struct jffs2_full_dnode *fn)
+static int jffs2_add_full_dnode_to_fragtree(struct jffs2_sb_info *c, struct rb_root *list, struct jffs2_full_dnode *fn)
{
struct jffs2_node_frag *this;
struct jffs2_node_frag *newfrag;
More information about the linux-mtd-cvs
mailing list