diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-12-17 14:21:50 +0800 |
---|---|---|
committer | Li Zefan <lizf@cn.fujitsu.com> | 2010-12-22 23:15:45 +0800 |
commit | 261507a02ccba9afda919852263b6bc1581ce1ef (patch) | |
tree | c16bc657ff4e29a87042ceb379487f24dff01035 /lib/gcd.c | |
parent | 4b72029dc3fd6ba7dc45ccd1cf0aa0ebfa209bd3 (diff) | |
download | op-kernel-dev-261507a02ccba9afda919852263b6bc1581ce1ef.zip op-kernel-dev-261507a02ccba9afda919852263b6bc1581ce1ef.tar.gz |
btrfs: Allow to add new compression algorithm
Make the code aware of compression type, instead of always assuming
zlib compression.
Also make the zlib workspace function as common code for all
compression types.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions