f2fs: turn back remapped address in compressed page endio
authorDaeho Jeong <daehojeong@google.com>
Wed, 28 Jul 2021 19:38:11 +0000 (12:38 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 2 Aug 2021 18:24:25 +0000 (11:24 -0700)
commit4931e0c93e124357308893a3e5e224cbeeabc721
treea36ec6dc03243e8168344a37a9995320a105d7cb
parent093f0bac32b617960899c7e00f4550373c383dd0
f2fs: turn back remapped address in compressed page endio

Turned back the remmaped sector address to the address in the partition,
when ending io, for compress cache to work properly.

Fixes: 6ce19aff0b8c ("f2fs: compress: add compress_inode to cache
compressed blocks")
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Youngjin Gil <youngjin.gil@samsung.com>
Signed-off-by: Hyeong Jun Kim <hj514.kim@samsung.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c