Build fix -- accidently committed stuff that doesn't exist yet.
* Also removed debug leftover from register_additional_commands().
This commit is contained in:
parent
7633665c77
commit
e7985acc3c
|
@ -15,7 +15,6 @@ namespace FSShell {
|
|||
void
|
||||
register_additional_commands()
|
||||
{
|
||||
puts("************************ HERE I AM!!!!!!!!!!!!!!!!!");
|
||||
CommandManager::Default()->AddCommand(command_checkfs, "checkfs",
|
||||
"check file system");
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ command_checkfs(int argc, const char* const* argv)
|
|||
result.flags = 0;
|
||||
if (!checkOnly) {
|
||||
result.flags |= BFS_FIX_BITMAP_ERRORS | BFS_REMOVE_WRONG_TYPES
|
||||
| BFS_REMOVE_INVALID | BFS_FIX_NAME_MISMATCHES | BFS_FIX_BPLUSTREES;
|
||||
| BFS_REMOVE_INVALID | BFS_FIX_NAME_MISMATCHES /*| BFS_FIX_BPLUSTREES*/;
|
||||
}
|
||||
|
||||
// start checking
|
||||
|
@ -70,8 +70,8 @@ command_checkfs(int argc, const char* const* argv)
|
|||
fssh_dprintf(", has wrong type");
|
||||
if ((result.errors & BFS_NAMES_DONT_MATCH) != 0)
|
||||
fssh_dprintf(", names don't match");
|
||||
if ((result.errors & BFS_INVALID_BPLUSTREE) != 0)
|
||||
fssh_dprintf(", invalid b+tree");
|
||||
// if ((result.errors & BFS_INVALID_BPLUSTREE) != 0)
|
||||
// fssh_dprintf(", invalid b+tree");
|
||||
fssh_dprintf("\n");
|
||||
}
|
||||
if ((result.mode & (S_INDEX_DIR | 0777)) == S_INDEX_DIR)
|
||||
|
|
Loading…
Reference in New Issue