f2fs: upset segment_info repair
authorYunlei He <heyunlei@huawei.com>
Mon, 31 Aug 2015 09:15:10 +0000 (17:15 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 1 Sep 2015 21:45:27 +0000 (14:45 -0700)
commit01a5ad827a36e36f45e1fdb96903ea115f759865
tree81d50394734be1ac771c3682433e7f4c4155b3db
parent54d71856428961124be26301b7997f2ad23be520
f2fs: upset segment_info repair

upset segment_info like this:

276000|161 0|0   4|70  3|0   3|0   0|0   0|91  4|0   4|232 4|39
276104|0   4|0   4|1   4|0   4|0   4|280 4|0   4|42  4|262 4|38
276204|179 4|89  4|39  4|24  4|0   4|96  4|3   4|428 4|0   4|118
276304|112 4|97  4|0   4|0   4|0   4|68  4|0   4|0   4|86  4|138
276404|0   4|0   0|166 5|39  4|101 0|111

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c