Commit e8931582 authored by Fan Li's avatar Fan Li Committed by Jaegeuk Kim
Browse files

f2fs: fix to update variable correctly when skip a unmapped block

map.m_len should be reduced after skip a block
Signed-off-by: default avatarFan li <>
Reviewed-by: default avatarChao Yu <>
Signed-off-by: default avatarJaegeuk Kim <>
parent d8fe4f0e
......@@ -1759,6 +1759,7 @@ static int f2fs_defragment_range(struct f2fs_sb_info *sbi,
if (!(map.m_flags & F2FS_MAP_FLAGS)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment