staging: erofs: complete error handing of z_erofs_do_read_page
authorGao Xiang <gaoxiang25@huawei.com>
Tue, 18 Sep 2018 14:27:25 +0000 (22:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:09:01 +0000 (10:09 +0100)
commit34ac4c14f5d599ff760d848e90664a3d42812143
treefa35a7e3ae34803fcc081369b166cdfff450bb60
parent1c9d5a47c681837ca20a39325f033d98c27277e3
staging: erofs: complete error handing of z_erofs_do_read_page

commit 1e05ff36e6921ca61bdbf779f81a602863569ee3 upstream.

This patch completes error handing code of z_erofs_do_read_page.
PG_error will be set when some read error happens, therefore
z_erofs_onlinepage_endio will unlock this page without setting
PG_uptodate.

Reviewed-by: Chao Yu <yucxhao0@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