diff options
author | 2020-03-03 16:57:07 +0800 | |
---|---|---|
committer | 2020-03-30 20:46:26 -0700 | |
commit | 23b1faaade19a2aa2d4c3e387b875d105675343e (patch) | |
tree | 744b7ab3dde6ec4bb0a240d7bbe7f9179e4a31f7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: compress: fix to call missing destroy_compress_ctx() (diff) | |
download | linux-rng-23b1faaade19a2aa2d4c3e387b875d105675343e.tar.xz linux-rng-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions