fsck.f2fs: calculate orphan_blkaddr correctly
authorJunling Zheng <zhengjunling@huawei.com>
Wed, 16 Mar 2016 10:03:05 +0000 (18:03 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 17 Mar 2016 23:31:52 +0000 (16:31 -0700)
commit890e4e0c59fc2708099704eb81f8ff895467f253
tree0f1381a9bdc4a34571657f6a88dee085449ca608
parent2a802319c3c45a527dc706173e9831ace5410ee7
fsck.f2fs: calculate orphan_blkaddr correctly

Commit 4ea4f1db ("fsck.f2fs: large volume support") added the support
for large volume over about 3TB. The "cp_payload" is added to start_blk,
but not removed from orphan_blkaddr.

Fixes: 4ea4f1db ("fsck.f2fs: large volume support")
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/fsck.c