f2fs: fix to clear PG_error if fsverity failed
authorChao Yu <yuchao0@huawei.com>
Sat, 21 Mar 2020 12:24:11 +0000 (20:24 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 31 Mar 2020 03:46:24 +0000 (20:46 -0700)
commit23c51bed6f5d21aeebeaf9cdcd63ac3d3cbd0f83
tree9545608d7c28e959637654e04d0a3a7f7548cf25
parentd76af0d675d4733c24a848e62d263a362aefa925
f2fs: fix to clear PG_error if fsverity failed

In f2fs_decompress_end_io(), we should clear PG_error flag before page
unlock, otherwise reread will fail due to the flag as described in
commit fb7d70db305a ("f2fs: clear PageError on the read path").

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c