diff options
Diffstat (limited to 'ubifs-utils/fsck.ubifs/fsck.ubifs.c')
-rw-r--r-- | ubifs-utils/fsck.ubifs/fsck.ubifs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ubifs-utils/fsck.ubifs/fsck.ubifs.c b/ubifs-utils/fsck.ubifs/fsck.ubifs.c index 550d3f9..423a753 100644 --- a/ubifs-utils/fsck.ubifs/fsck.ubifs.c +++ b/ubifs-utils/fsck.ubifs/fsck.ubifs.c @@ -541,6 +541,13 @@ static int do_fsck(void) goto free_disconnected_files_2; } + log_out(c, "Handle disconnected files"); + err = handle_disonnected_files(c); + if (err) { + exit_code |= FSCK_ERROR; + goto free_disconnected_files_2; + } + free_disconnected_files_2: destroy_file_list(c, &FSCK(c)->disconnected_files); return err; @@ -596,6 +603,7 @@ int main(int argc, char *argv[]) * Step 14: Check and correct the index size * Step 15: Check and create root dir * Step 16: Check and create lost+found + * Step 17: Handle disconnected files */ err = do_fsck(); if (err && FSCK(c)->try_rebuild) { |