staging: erofs: complete error handing of z_erofs_map_blocks_iter
authorGao Xiang <gaoxiang25@huawei.com>
Tue, 18 Sep 2018 14:25:35 +0000 (22:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 14:34:35 +0000 (16:34 +0200)
commitc1ccc8670c269ff088473d3dc27854f8098991fd
treedcc10cad6cef04f90c3481e71cddeafd3465f819
parenta07eeddf5b6307c301c8571618d2ce091c31bc11
staging: erofs: complete error handing of z_erofs_map_blocks_iter

This patch completes error handing of z_erofs_map_blocks_iter
and vle_get_logical_extent_head, including no memory and
io error cases.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/unzip_vle.c