diff options
| author | Joao Marcos Costa <[email protected]> | 2020-08-18 17:17:21 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-08-24 14:11:31 -0400 |
| commit | 10f7cf5f12a8721d6c985d4de11dac4d19e0e47e (patch) | |
| tree | 970ab35116ee4f6882c4b1cc499b71175ee4ea24 /scripts | |
| parent | 4a1f0b80adfc9465e8a3efcb884d397e5ab7f07f (diff) | |
fs/squashfs: Add init and clean-up functions to decompression
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 structure is
passed to sqfs_decompressor_init() and sqfs_decompressor_cleanup(), so
it can no longer be local to sqfs.c.
Signed-off-by: Joao Marcos Costa <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
