btrfs: Fix error handling in zlib
Return failure if alloc_page() fails to allocate memory,
and the upper code will just give up compression.
Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
Showing
想要评论请 注册 或 登录
Return failure if alloc_page() fails to allocate memory,
and the upper code will just give up compression.
Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>