commit | 5d9032fd1b947da5f5f6b7e7731886c61d55dff3 | [log] [tgz] |
---|---|---|
author | Liu Xue <liuxueliu.liu@huawei.com> | Tue Jan 24 10:45:47 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Jan 24 13:38:17 2017 +0900 |
tree | f320da331fdfccc329871b74aee0c370de862dbd | |
parent | ada65254f66e581e3f8d25a9552ca471dc40a33a [diff] |
fsck.f2fs: always fix seg entry type if it is not DATA If the segment type and sum footer type are node, but its sit type is corrupted as cold data, this will always trigger type error crash in do_garbage_collect but not get fixed by fsck, so fix seg entry type when it is not DATA. Reported-by: KARBOWSKI Piotr <piotr.karbowski@gmail.com> Signed-off-by: Liu Xue <liuxueliu.liu@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>