mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
erofs: fix 'backmost' member of z_erofs_decompress_frontend
[ Upstream commit4398d3c31b
] Initialize 'backmost' to true in DECOMPRESS_FRONTEND_INIT. Fixes:5c6dcc57e2
("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
86ee0a5910
commit
0b2df9a868
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ struct z_erofs_decompress_frontend {
|
|||
|
||||
#define DECOMPRESS_FRONTEND_INIT(__i) { \
|
||||
.inode = __i, .owned_head = Z_EROFS_PCLUSTER_TAIL, \
|
||||
.mode = COLLECT_PRIMARY_FOLLOWED }
|
||||
.mode = COLLECT_PRIMARY_FOLLOWED, .backmost = true }
|
||||
|
||||
static struct page *z_pagemap_global[Z_EROFS_VMAP_GLOBAL_PAGES];
|
||||
static DEFINE_MUTEX(z_pagemap_global_lock);
|
||||
|
|
Loading…
Reference in a new issue