OSDN Git Service

vold: Rename the C in ASEC to Container
authorSan Mehat <san@google.com>
Mon, 11 Jan 2010 17:19:15 +0000 (09:19 -0800)
committerSan Mehat <san@google.com>
Mon, 11 Jan 2010 17:19:15 +0000 (09:19 -0800)
Signed-off-by: San Mehat <san@google.com>
CommandListener.cpp

index 45cf1b7..efa696b 100644 (file)
@@ -186,9 +186,9 @@ int CommandListener::CreateAsecCmd::runCommand(SocketClient *cli,
     if (VolumeManager::Instance()->createAsec(argv[1], atoi(argv[2]),
                                               argv[3], argv[4],
                                               atoi(argv[5]))) {
-        cli->sendMsg(ResponseCode::OperationFailed, "Cache creation failed", true);
+        cli->sendMsg(ResponseCode::OperationFailed, "Container creation failed", true);
     } else {
-        cli->sendMsg(ResponseCode::CommandOkay, "Cache created", false);
+        cli->sendMsg(ResponseCode::CommandOkay, "Container created", false);
     }
 
     return 0;
@@ -207,9 +207,9 @@ int CommandListener::FinalizeAsecCmd::runCommand(SocketClient *cli,
     }
 
     if (VolumeManager::Instance()->finalizeAsec(argv[1])) {
-        cli->sendMsg(ResponseCode::OperationFailed, "Cache finalize failed", true);
+        cli->sendMsg(ResponseCode::OperationFailed, "Container finalize failed", true);
     } else {
-        cli->sendMsg(ResponseCode::CommandOkay, "Cache finalized", false);
+        cli->sendMsg(ResponseCode::CommandOkay, "Container finalized", false);
     }
     return 0;
 }
@@ -229,7 +229,7 @@ int CommandListener::DestroyAsecCmd::runCommand(SocketClient *cli,
     if (VolumeManager::Instance()->destroyAsec(argv[1])) {
         cli->sendMsg(ResponseCode::OperationFailed, "Destroy failed", true);
     } else {
-        cli->sendMsg(ResponseCode::CommandOkay, "Cache Destroyed", false);
+        cli->sendMsg(ResponseCode::CommandOkay, "Container Destroyed", false);
     }
     return 0;
 }