f2fs: Revert "f2fs: truncate blocks in batch in __complete_revoke_list()"
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 14 Feb 2023 23:53:52 +0000 (15:53 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 15 Feb 2023 17:48:28 +0000 (09:48 -0800)
commitc7dbc06688292db34c1bb9c715e29ac4935af994
tree7e3f4b7aa7c871755bbbb19412f4a29ea72ba981
parenta46bebd502fe1a3bd1d22f64cedd93e7e7702693
f2fs: Revert "f2fs: truncate blocks in batch in __complete_revoke_list()"

We should not truncate replaced blocks, and were supposed to truncate the first
part as well.

This reverts commit 78a99fe6254cad4be310cd84af39f6c46b668c72.

Cc: stable@vger.kernel.org
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c