diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2018-11-01 21:27:35 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-12-14 11:52:40 +0100 |
commit | 341926ab83e2b4d5af1f8c7633e8b6d72d318458 (patch) | |
tree | 182f36e0714c2a6fda0c47ae1d1bfbe042d86208 /block/qcow2-snapshot.c | |
parent | f4b3e2a960ed571397292150539455a2dd981338 (diff) |
qcow2: refactor decompress_buffer
- make it look more like a pair of qcow2_compress - rename the function
and its parameters
- drop extra out_len variable, check filling of output buffer by strm
structure itself
- fix code style
- add some documentation
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2-snapshot.c')
0 files changed, 0 insertions, 0 deletions