mtd/fs/jffs2 nodelist.h,1.112,1.113 gc.c,1.128,1.129
David Woodhouse
dwmw2 at infradead.org
Thu Nov 20 11:40:17 EST 2003
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv1134
Modified Files:
nodelist.h gc.c
Log Message:
Make compression api changes actually compile
Index: nodelist.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.h,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- nodelist.h 18 Nov 2003 21:14:02 -0000 1.112
+++ nodelist.h 20 Nov 2003 16:40:14 -0000 1.113
@@ -436,9 +436,8 @@
unsigned char *buf, uint32_t offset, uint32_t len);
char *jffs2_getlink(struct jffs2_sb_info *c, struct jffs2_inode_info *f);
-
/* compr.c */
-unsigned char jffs2_compress(unsigned char *data_in, unsigned char *cpage_out,
+unsigned char jffs2_compress(unsigned char *data_in, unsigned char **cpage_out,
uint32_t *datalen, uint32_t *cdatalen);
void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig);
int jffs2_decompress(unsigned char comprtype, unsigned char *cdata_in,
Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/gc.c,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- gc.c 18 Nov 2003 21:14:01 -0000 1.128
+++ gc.c 20 Nov 2003 16:40:14 -0000 1.129
@@ -1246,7 +1246,7 @@
writebuf = pg_ptr + (offset & (PAGE_CACHE_SIZE -1));
- comprtype = jffs2_compress(writebuf, comprbuf, &datalen, &cdatalen);
+ comprtype = jffs2_compress(writebuf, &comprbuf, &datalen, &cdatalen);
ri.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK);
ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE);
More information about the linux-mtd-cvs
mailing list