[haiku-commits] haiku: hrev43809 - src/tools/bfs_shell

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 1 Mar 2012 09:35:38 +0100 (CET)

hrev43809 adds 1 changeset to branch 'master'
old head: 7633665c77393a53662ec622b966cd5c684995e5
new head: e7985acc3ce29c7b7a87a789a7afa733f9cf68f0

----------------------------------------------------------------------------

e7985ac: Build fix -- accidently committed stuff that doesn't exist yet.
  
  * Also removed debug leftover from register_additional_commands().

                                   [ Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev43809
Commit:      e7985acc3ce29c7b7a87a789a7afa733f9cf68f0
URL:         http://cgit.haiku-os.org/haiku/commit/?id=e7985ac
Author:      Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
Date:        Thu Mar  1 08:32:09 2012 UTC

----------------------------------------------------------------------------

2 files changed, 3 insertions(+), 4 deletions(-)
src/tools/bfs_shell/additional_commands.cpp |    1 -
src/tools/bfs_shell/command_checkfs.cpp     |    6 +++---

----------------------------------------------------------------------------

diff --git a/src/tools/bfs_shell/additional_commands.cpp 
b/src/tools/bfs_shell/additional_commands.cpp
index df7d7ad..be876d1 100644
--- a/src/tools/bfs_shell/additional_commands.cpp
+++ b/src/tools/bfs_shell/additional_commands.cpp
@@ -15,7 +15,6 @@ namespace FSShell {
 void
 register_additional_commands()
 {
-       puts("************************ HERE I AM!!!!!!!!!!!!!!!!!");
        CommandManager::Default()->AddCommand(command_checkfs, "checkfs",
                "check file system");
 }
diff --git a/src/tools/bfs_shell/command_checkfs.cpp 
b/src/tools/bfs_shell/command_checkfs.cpp
index 709d4bf..8922d8b 100644
--- a/src/tools/bfs_shell/command_checkfs.cpp
+++ b/src/tools/bfs_shell/command_checkfs.cpp
@@ -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)


Other related posts:

  • » [haiku-commits] haiku: hrev43809 - src/tools/bfs_shell - axeld