erofs: avoid memory allocation failure during rolling decompression
Currently, err would be treated as io error. Therefore, it'd be better to ensure memory allocation during rolling decompression to avoid such io error. In the long term, we might consider adding another !Uptodate case for such case. Link: https://lore.kernel.org/r/20210316031515.90954-1-huangjianan@oppo.comReviewed-by: NGao Xiang <hsiangkao@redhat.com> Reviewed-by: NChao Yu <yuchao0@huawei.com> Signed-off-by: NHuang Jianan <huangjianan@oppo.com> Signed-off-by: NGuo Weichao <guoweichao@oppo.com> Signed-off-by: NGao Xiang <hsiangkao@redhat.com>
Showing
想要评论请 注册 或 登录