mtd/fs/jffs2 nodelist.c,1.30.2.5,1.30.2.6 nodelist.h,1.46.2.3,1.46.2.4

David Woodhouse dwmw2 at infradead.org
Mon Feb 24 16:49:36 EST 2003


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

Modified Files:
      Tag: jffs2-2_4-branch
	nodelist.c nodelist.h 
Log Message:
Fix 'ino' argument to jffs2_get_ino_cache to be unsigned.
Pointed out by Dave Ellis <DGE at sixnetio.com>.


Index: nodelist.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.c,v
retrieving revision 1.30.2.5
retrieving revision 1.30.2.6
diff -u -r1.30.2.5 -r1.30.2.6
--- nodelist.c	20 Aug 2002 21:02:00 -0000	1.30.2.5
+++ nodelist.c	24 Feb 2003 21:49:33 -0000	1.30.2.6
@@ -266,7 +266,7 @@
 	return err;
 }
 
-struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, int ino)
+struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino)
 {
 	struct jffs2_inode_cache *ret;
 

Index: nodelist.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.h,v
retrieving revision 1.46.2.3
retrieving revision 1.46.2.4
diff -u -r1.46.2.3 -r1.46.2.4
--- nodelist.h	11 Oct 2002 09:04:44 -0000	1.46.2.3
+++ nodelist.h	24 Feb 2003 21:49:33 -0000	1.46.2.4
@@ -249,7 +249,7 @@
 			  struct jffs2_tmp_dnode_info **tnp, struct jffs2_full_dirent **fdp,
 			  __u32 *highest_version, __u32 *latest_mctime,
 			  __u32 *mctime_ver);
-struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, int ino);
+struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino);
 void jffs2_add_ino_cache (struct jffs2_sb_info *c, struct jffs2_inode_cache *new);
 void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old);
 void jffs2_free_ino_caches(struct jffs2_sb_info *c);





More information about the linux-mtd-cvs mailing list