btrfs: Extract duplicate decompress code
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 8 Nov 2010 07:22:19 +0000 (15:22 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 22 Dec 2010 15:15:50 +0000 (23:15 +0800)
commit3a39c18d63fec35f49df577d4b2a4e29c2212f22
tree78b8c032e18e2231c18e89ac3f8f5746abdb119c
parent1a419d85a76853d7d04e9b6280a80e96770bf3e3
btrfs: Extract duplicate decompress code

Add a common function to copy decompressed data from working buffer
to bio pages.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/compression.c
fs/btrfs/compression.h
fs/btrfs/lzo.c
fs/btrfs/zlib.c