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:
Li Zefan <lizf@cn.fujitsu.com>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>