patch-2.3.99-pre6 linux/fs/cramfs/uncompress.c
Next file: linux/fs/dcache.c
Previous file: linux/fs/cramfs/inflate/zlib.h
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Wed Apr 12 09:47:29 2000
- Orig file:
v2.3.99-pre5/linux/fs/cramfs/uncompress.c
- Orig date:
Fri Jan 21 18:19:17 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/fs/cramfs/uncompress.c linux/fs/cramfs/uncompress.c
@@ -33,14 +33,14 @@
stream.next_out = dst;
stream.avail_out = dstlen;
- err = inflateReset(&stream);
+ err = cramfs_inflateReset(&stream);
if (err != Z_OK) {
- printk("inflateReset error %d\n", err);
- inflateEnd(&stream);
- inflateInit(&stream);
+ printk("cramfs_inflateReset error %d\n", err);
+ cramfs_inflateEnd(&stream);
+ cramfs_inflateInit(&stream);
}
- err = inflate(&stream, Z_FINISH);
+ err = cramfs_inflate(&stream, Z_FINISH);
if (err != Z_STREAM_END)
goto err;
return stream.total_out;
@@ -56,7 +56,7 @@
if (!initialized++) {
stream.next_in = NULL;
stream.avail_in = 0;
- inflateInit(&stream);
+ cramfs_inflateInit(&stream);
}
return 0;
}
@@ -64,6 +64,6 @@
int cramfs_uncompress_exit(void)
{
if (!--initialized)
- inflateEnd(&stream);
+ cramfs_inflateEnd(&stream);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)