mtd/fs/jffs2 nodelist.c,1.76,1.77 nodelist.h,1.92,1.93

David Woodhouse dwmw2 at infradead.org
Mon Feb 24 16:47:31 EST 2003


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

Modified Files:
	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.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- nodelist.c	20 Feb 2003 10:58:54 -0000	1.76
+++ nodelist.c	24 Feb 2003 21:47:28 -0000	1.77
@@ -450,7 +450,7 @@
    Rather than introducing special case get_ino_cache functions or 
    callbacks, we just let the caller do the locking itself. */
    
-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.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- nodelist.h	22 Jan 2003 14:43:29 -0000	1.92
+++ nodelist.h	24 Feb 2003 21:47:28 -0000	1.93
@@ -292,7 +292,7 @@
 			  uint32_t *highest_version, uint32_t *latest_mctime,
 			  uint32_t *mctime_ver);
 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state);
-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