]> www.infradead.org Git - mtd-utils.git/commit
fsck.ubifs: Consolidate log
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 09:07:58 +0000 (17:07 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:46 +0000 (10:32 +0100)
commit0fbfbf59714b73a0d0c487c454c22d72b2c78e68
tree30912f1d80c466390f24fc8cc9f39b3a7d829c27
parent585047e6c4136a474f3ff22a0e9e839cc6ede75d
fsck.ubifs: Consolidate log

This is the 4/18 step of fsck. Consolidate log to ensure enough space
in log area. There could be following possible errors:
 1. corrupted scanning data in log area: danger mode with rebuild_fs and
    normal mode with 'yes' answer will turn to rebuild filesystem, other
    modes will exit.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/fsck.ubifs/fsck.ubifs.c
ubifs-utils/fsck.ubifs/load_fs.c
ubifs-utils/libubifs/log.c