OSDN Git Service

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>
Tue, 18 Sep 2018 14:34:35 +0000 (16:34 +0200)
commit1e05ff36e6921ca61bdbf779f81a602863569ee3
tree63d9bc6917d268c83f8714f262686c0ee583bffe
parent0734ffbf574ee813b20899caef2fe0ed502bb783
staging: erofs: complete error handing of z_erofs_do_read_page

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