mtd/fs/jffs2 compr.c,1.30,1.31
David Woodhouse
dwmw2 at infradead.org
Wed Nov 26 08:01:14 EST 2003
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv5160
Modified Files:
compr.c
Log Message:
Actually enable compression, and fix the calls to the compressor functions.
Index: compr.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/compr.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- compr.c 26 Nov 2003 11:56:00 -0000 1.30
+++ compr.c 26 Nov 2003 13:01:12 -0000 1.31
@@ -59,26 +59,26 @@
}
#ifdef JFFS2_USE_ZLIB
- ret = jffs2_zlib_compress(data_in, cpage_out, datalen, cdatalen);
+ ret = jffs2_zlib_compress(data_in, *cpage_out, datalen, cdatalen);
if (!ret) {
return JFFS2_COMPR_ZLIB;
}
#endif
#ifdef JFFS2_USE_DYNRUBIN
- ret = jffs2_dynrubin_compress(data_in, cpage_out, datalen, cdatalen);
+ ret = jffs2_dynrubin_compress(data_in, *cpage_out, datalen, cdatalen);
if (!ret) {
return JFFS2_COMPR_DYNRUBIN;
}
#endif
#ifdef JFFS2_USE_RUBINMIPS
- ret = jffs2_rubinmips_compress(data_in, cpage_out, datalen, cdatalen);
+ ret = jffs2_rubinmips_compress(data_in, *cpage_out, datalen, cdatalen);
if (!ret) {
return JFFS2_COMPR_RUBINMIPS;
}
#endif
#ifdef JFFS2_USE_RTIME
/* rtime does manage to recompress already-compressed data */
- ret = jffs2_rtime_compress(data_in, cpage_out, datalen, cdatalen);
+ ret = jffs2_rtime_compress(data_in, *cpage_out, datalen, cdatalen);
if (!ret) {
return JFFS2_COMPR_RTIME;
}
More information about the linux-mtd-cvs
mailing list