f2fs: fix the fault of calculating blkstart twice
authorKinglong Mee <kinglongmee@gmail.com>
Wed, 8 Mar 2017 01:49:53 +0000 (09:49 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 21 Mar 2017 20:52:16 +0000 (16:52 -0400)
commit10a875f82b50adc83036368086df9c4cfff7888c
treed67c8166a09f6e973ad88fc9868f84d5d01e5cfe
parente2f0e962ac2190ab4e0d1ee4b258273d3a51e689
f2fs: fix the fault of calculating blkstart twice

When the zone type is BLK_ZONE_TYPE_CONVENTIONAL, the blkstart is
calculated twice.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c