]> www.infradead.org Git - mtd-utils.git/commit
fsck.ubifs: rebuild_fs: Clean up log and orphan area
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 09:01:19 +0000 (17:01 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:46 +0000 (10:32 +0100)
commit869f3ae30950469d0d4e730857469477d4872dd8
tree7d4d2c9c6728c997f85c5e254880763ee7bd8611
parent63d20acc274acfb7eadc23a9d87bce5497fda8bb
fsck.ubifs: rebuild_fs: Clean up log and orphan area

This is the 11/12 step of rebuilding. Clean up log and orphan area, all
nodes have been recovered, these two areas should be cleared, otherwise
old content in journal/orphan could be replayed in next mounting.

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