]> www.infradead.org Git - mtd-utils.git/commit
fsck.ubifs: rebuild_fs: Write master node
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 09:01:20 +0000 (17:01 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:46 +0000 (10:32 +0100)
commit410f5bb08c0dd44358822031e59f64b4b840bd9e
tree985820452e0c2857b4c46ab33b233b0a27daa33a
parent869f3ae30950469d0d4e730857469477d4872dd8
fsck.ubifs: rebuild_fs: Write master node

This is the 12/12 step of rebuilding. Since all meta areas are ready,
master node can be updated. After this step, a consistent UBIFS image
can be mounted, and it should pass all tests from chk_fs, chk_general,
chk_index, chk_lprops and chk_orphans.

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