btrfs: Fix error handling in zlib
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 9 Nov 2010 00:27:27 +0000 (08:27 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 22 Dec 2010 15:15:43 +0000 (23:15 +0800)
Return failure if alloc_page() fails to allocate memory,
and the upper code will just give up compression.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>

No differences found