diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-03-03 16:57:07 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-03-30 20:46:26 -0700 |
commit | 23b1faaade19a2aa2d4c3e387b875d105675343e (patch) | |
tree | 744b7ab3dde6ec4bb0a240d7bbe7f9179e4a31f7 /fs/f2fs/Kconfig | |
parent | 09ff48011e220e2b4f1d9ce2f472ecb63645cbfc (diff) | |
download | lwn-23b1faaade19a2aa2d4c3e387b875d105675343e.tar.gz lwn-23b1faaade19a2aa2d4c3e387b875d105675343e.zip |
f2fs: compress: add .{init,destroy}_decompress_ctx callback
Add below two callback interfaces in struct f2fs_compress_ops:
int (*init_decompress_ctx)(struct decompress_io_ctx *dic);
void (*destroy_decompress_ctx)(struct decompress_io_ctx *dic);
Which will be used by zstd compress algorithm later.
In addition, this patch adds callback function pointer check, so that
specified algorithm can avoid defining unneeded functions.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/Kconfig')
0 files changed, 0 insertions, 0 deletions