]> Git Repo - linux.git/commitdiff
erofs: fix 'backmost' member of z_erofs_decompress_frontend
authorWeizhao Ouyang <[email protected]>
Mon, 30 May 2022 07:51:14 +0000 (15:51 +0800)
committerGao Xiang <[email protected]>
Tue, 31 May 2022 15:15:30 +0000 (23:15 +0800)
Initialize 'backmost' to true in DECOMPRESS_FRONTEND_INIT.

Fixes: 5c6dcc57e2e5 ("erofs: get rid of `struct z_erofs_collector'")
Signed-off-by: Weizhao Ouyang <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Reviewed-by: Yue Hu <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
fs/erofs/zdata.c

index b33fb64b33932e3c08e5a37e72009f6c593d4be8..90c5b10c579419afe54a1f34ab8984812883a05f 100644 (file)
@@ -213,7 +213,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);
This page took 0.058927 seconds and 4 git commands to generate.