]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdcc5f19acf3c67bcf78ee214e19196d16c263468
tree63d9bc6917d268c83f8714f262686c0ee583bffe
parent9189734cac92e38c0e22fb97f1f10d95ef363ade
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