[PATCH 10/10] AXFS: axfs_uncompress.c

Jared Hulbert jaredeh at gmail.com
Thu Aug 21 10:35:21 EDT 2008


> If you want support for multiple decompression algorithms, you can switch
> from using zlib_inflate*() directly to calling zlib through the crypto API.
> Then you can call crypto_alloc_comp() with the correct decompression algorithm
> name.
>
> For squashfs, I had to modify only ca. 40 lines of code.

I definately want to support multiple formats.  I have a flag in the
superblock all ready to go for that.  One problem.  I'm not sure how
to do it.  Can you point us to some reference code?



More information about the linux-mtd mailing list