f2fs: fix to update variable correctly when skip a unmapped block
authorFan Li <fanofcode.li@samsung.com>
Mon, 14 Dec 2015 07:26:04 +0000 (15:26 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 14 Dec 2015 18:17:54 +0000 (10:17 -0800)
commite8931582bdaf4d4a6ee7e520ef0ccd481713a42a
tree83f61214d918dd6480576b9234801bdfe186e212
parentd8fe4f0e74cb27e79b2b500ca6eae9f9b02748b4
f2fs: fix to update variable correctly when skip a unmapped block

map.m_len should be reduced after skip a block

Signed-off-by: Fan li <fanofcode.li@samsung.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c