UPSTREAM: f2fs: fix blkofs_end correctly in f2fs_migrate_blocks()
In f2fs_migrate_blocks(), when traversing blocks in last section, blkofs_end should be (start_blk + blkcnt - 1) % blk_per_sec, fix it. Signed-off-by:Chao Yu <chao@kernel.org> Reviewed-by:
Daeho Jeong <daehojeong@google.com> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> (cherry picked from commit 870546e2) Change-Id: Ifd761f18156ffaf130b4f3f26c294aa82afae15f
Loading
Please sign in to comment