remove duplicated code in decompressor by introducing
failable erofs_allocpage().
Signed-off-by: Gao Xiang
---
drivers/staging/erofs/decompressor.c | 12 +++-
drivers/staging/erofs/internal.h | 2 +-
drivers/staging/erofs/utils.c| 5 +++--
drivers/staging/erofs/zdata.c
On 2019/7/29 14:51, Gao Xiang wrote:
> remove duplicated code in decompressor by introducing
> failable erofs_allocpage().
>
> Signed-off-by: Gao Xiang
> ---
> drivers/staging/erofs/decompressor.c | 12 +++-
> drivers/staging/erofs/internal.h | 2 +-
> drivers/staging/erofs/utils.c