]> www.infradead.org Git - mtd-utils.git/commit
fsck.ubifs: Check and correct files' information
authorXiang Yang <xiangyang3@huawei.com>
Mon, 11 Nov 2024 09:08:06 +0000 (17:08 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:46 +0000 (10:32 +0100)
commitd0b66b0e5bb346e795a4c0ac3cafd287a6e4db9d
treea266718d7a77f1995d4d5a2ee53cbe843cd1dd6d
parenta251dd9c71006c66a02064210ae103ed7ac59444
fsck.ubifs: Check and correct files' information

This is the 10/18 step of fsck. Check and handle inconsistent files, the
checking rule is same as rebuild mode which has been implemented in
check_and_correct_files, but the methods of handling are different:
 1. Correct the file information for safe mode, danger mode and normal
    mode with 'yes' answer, other modes will exit.

Signed-off-by: Xiang Yang <xiangyang3@huawei.com>
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/fsck.ubifs/extract_files.c
ubifs-utils/fsck.ubifs/fsck.ubifs.c
ubifs-utils/fsck.ubifs/fsck.ubifs.h
ubifs-utils/fsck.ubifs/problem.c