From: Chao Yu
erofs_vmap() wrapped vmap() and vm_map_ram() to return virtual
continuous memory, but both of them can failed due to a lot of
reason, previously, erofs_vmap()'s callers didn't handle them,
which can potentially cause NULL pointer access, fix it.
Fixes: 3883a79abd02 ("staging:
On 2019/3/11 17:00, Chao Yu wrote:
> erofs_vmap() wrapped vmap() and vm_map_ram() to return virtual
> continuous memory, but both of them can failed due to a lot of
> reason, previously, erofs_vmap()'s callers didn't handle them,
> which can potentially cause NULL pointer access, fix it.
>
>
erofs_vmap() wrapped vmap() and vm_map_ram() to return virtual
continuous memory, but both of them can failed due to a lot of
reason, previously, erofs_vmap()'s callers didn't handle them,
which can potentially cause NULL pointer access, fix it.
Signed-off-by: Gao Xiang
Signed-off-by: Chao Yu