erofs: avoid tagged pointers to mark sync decompression
authorGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 4 Feb 2023 09:30:36 +0000 (17:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:20:54 +0000 (16:20 +0200)
commit3379f13ebc1e8cc5ec866fabf7282a7bd7249007
treead9af43a2ae3213334c1238f49748997a7066e7a
parent3564500b0d1e36cbdb1b7e12cd71606816ab6bcc
erofs: avoid tagged pointers to mark sync decompression

[ Upstream commit cdba55067f2f9fdc7870ffcb6aef912d3468cff8 ]

We could just use a boolean in z_erofs_decompressqueue for sync
decompression to simplify the code.

Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230204093040.97967-2-hsiangkao@linux.alibaba.com
Stable-dep-of: 967c28b23f6c ("erofs: kill hooked chains to avoid loops on deduplicated compressed images")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/erofs/zdata.c
fs/erofs/zdata.h