]> www.infradead.org Git - mtd-utils.git/commit
ubifs-utils: Adapt orphan.c in libubifs
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 09:00:56 +0000 (17:00 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:45 +0000 (10:32 +0100)
commita16031a8dac5c699a15cc91500f2718f28993431
treece87d02ee56158085a207427b5d3c28d2c077356
parent68c55fcc17683cba34807c38ee81b432093f9796
ubifs-utils: Adapt orphan.c in libubifs

Adapt orphan.c in libubifs, compared with linux kernel implementations:
 1. Keep the commit related implementations, because do_commit depends
    on these functions which will be invoked in fsck.
 2. Keep the orphan replaying implementations, because fsck needs them.
 3. Other implementations are removed which won't be used in mkfs/fsck.

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