Re: [PATCH v4 1/5] fs/squashfs: Add init and clean-up functions to decompression

2020-08-25 Thread Tom Rini
On Tue, Aug 18, 2020 at 05:17:21PM +0200, Joao Marcos Costa wrote: > Add sqfs_decompressor_init() and sqfs_decompressor_cleanup(). These > functions are called respectively in sqfs_probe() and sqfs_close(). For > now, only ZSTD requires an initialization logic. ZSTD support will be > added in a fo

Re: [PATCH v4 1/5] fs/squashfs: Add init and clean-up functions to decompression

2020-08-18 Thread Thomas Petazzoni
Hello, On Tue, 18 Aug 2020 17:17:21 +0200 Joao Marcos Costa wrote: > Add sqfs_decompressor_init() and sqfs_decompressor_cleanup(). These > functions are called respectively in sqfs_probe() and sqfs_close(). For > now, only ZSTD requires an initialization logic. ZSTD support will be > added in a

[PATCH v4 1/5] fs/squashfs: Add init and clean-up functions to decompression

2020-08-18 Thread Joao Marcos Costa
Add sqfs_decompressor_init() and sqfs_decompressor_cleanup(). These functions are called respectively in sqfs_probe() and sqfs_close(). For now, only ZSTD requires an initialization logic. ZSTD support will be added in a follow-up commit. Move squashfs_ctxt definition to sqfs_filesystem.h. This st