]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: fix 'backmost' member of z_erofs_decompress_frontend
authorWeizhao Ouyang <o451686892@gmail.com>
Mon, 30 May 2022 07:51:14 +0000 (15:51 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 31 May 2022 15:15:30 +0000 (23:15 +0800)
commit2932e7b4020653b17374ee7897e420791a8a49f6
tree6f7eb6e360f32310471985020ac1bc398e028f1f
parentb258923647f1e1e767f41e37f6c3d55f2ea1b858
erofs: fix 'backmost' member of z_erofs_decompress_frontend

Initialize 'backmost' to true in DECOMPRESS_FRONTEND_INIT.

Fixes: 53f2201da127 ("erofs: get rid of `struct z_erofs_collector'")
Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20220530075114.918874-1-o451686892@gmail.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/zdata.c