mtd/fs/jffs2/ecos/src jffs2port.h,1.4,1.5

David Woodhouse dwmw2 at infradead.org
Mon Nov 24 08:44:46 EST 2003


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

Modified Files:
	jffs2port.h 
Log Message:
Fix refcount leaks, remove all references to struct inode in core code

Index: jffs2port.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/jffs2port.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- jffs2port.h	20 Nov 2003 16:41:58 -0000	1.4
+++ jffs2port.h	24 Nov 2003 13:44:43 -0000	1.5
@@ -168,21 +168,12 @@
 
 #define kunmap(page) do { } while (0)
 
-//struct page * read_cache_page(cyg_uint32 start, void * f, struct inode * i);
-struct page *read_cache_page(unsigned long index, int (*filler)(void *,struct page*), void *data);
-void page_cache_release(struct page * pg);
 
-struct inode * new_inode(struct super_block *sb);
+//static struct inode * new_inode(struct super_block *sb);
 struct inode * iget(struct super_block *sb, cyg_uint32 ino);
 void iput(struct inode * i);
 void make_bad_inode(struct inode * inode);
 int is_bad_inode(struct inode * inode);
-
-#define insert_inode_hash(inode) do { } while (0)
-
-#define d_alloc_root(root_inode) root_inode
-
-#define flush_dcache_page(page) do { } while (0)
 
 struct jffs2_sb_info;
 struct jffs2_eraseblock;




More information about the linux-mtd-cvs mailing list