commit | 54244dcafddcf87355b5515b60ea084ddb47e2d0 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Thu May 16 20:40:43 2019 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon May 20 17:42:52 2019 -0700 |
tree | 7496024a7cf9fa82471d3fc0eedcbb28a78504ac | |
parent | 9e0a58749de8b62932388cfb645ee6248cd1b413 [diff] |
fsck.f2fs: update curseg .next_blkoff/.alloc_type preferential If .next_blkoff is inconsistent, we can update curseg .next_blkoff to first unused block address, and change .alloc_type to SSR preferential, instead of move curseg to other position. This can help to repair fuzzed image which has no more free segment. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>