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
|
void
|
||||||
register_additional_commands()
|
register_additional_commands()
|
||||||
{
|
{
|
||||||
puts("************************ HERE I AM!!!!!!!!!!!!!!!!!");
|
|
||||||
CommandManager::Default()->AddCommand(command_checkfs, "checkfs",
|
CommandManager::Default()->AddCommand(command_checkfs, "checkfs",
|
||||||
"check file system");
|
"check file system");
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ command_checkfs(int argc, const char* const* argv)
|
||||||
result.flags = 0;
|
result.flags = 0;
|
||||||
if (!checkOnly) {
|
if (!checkOnly) {
|
||||||
result.flags |= BFS_FIX_BITMAP_ERRORS | BFS_REMOVE_WRONG_TYPES
|
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
|
// start checking
|
||||||
|
@ -70,8 +70,8 @@ command_checkfs(int argc, const char* const* argv)
|
||||||
fssh_dprintf(", has wrong type");
|
fssh_dprintf(", has wrong type");
|
||||||
if ((result.errors & BFS_NAMES_DONT_MATCH) != 0)
|
if ((result.errors & BFS_NAMES_DONT_MATCH) != 0)
|
||||||
fssh_dprintf(", names don't match");
|
fssh_dprintf(", names don't match");
|
||||||
if ((result.errors & BFS_INVALID_BPLUSTREE) != 0)
|
// if ((result.errors & BFS_INVALID_BPLUSTREE) != 0)
|
||||||
fssh_dprintf(", invalid b+tree");
|
// fssh_dprintf(", invalid b+tree");
|
||||||
fssh_dprintf("\n");
|
fssh_dprintf("\n");
|
||||||
}
|
}
|
||||||
if ((result.mode & (S_INDEX_DIR | 0777)) == S_INDEX_DIR)
|
if ((result.mode & (S_INDEX_DIR | 0777)) == S_INDEX_DIR)
|
||||||
|
|
Loading…
Reference in New Issue