vold2: Rename DeviceVolume -> DirectVolume
Signed-off-by: San Mehat <san@android.com>
diff --git a/main.cpp b/main.cpp
index ba8c33d..1485a20 100644
--- a/main.cpp
+++ b/main.cpp
@@ -31,7 +31,7 @@
#include "VolumeManager.h"
#include "CommandListener.h"
#include "NetlinkManager.h"
-#include "DeviceVolume.h"
+#include "DirectVolume.h"
static int process_config(VolumeManager *vm);
static void coldboot(const char *path);
@@ -171,7 +171,7 @@
}
if (!strcmp(type, "dev_mount")) {
- DeviceVolume *dv = NULL;
+ DirectVolume *dv = NULL;
char *part, *sysfs_path;
if (!(part = strsep(&next, " \t"))) {
@@ -183,7 +183,7 @@
goto out_syntax;
}
- dv = new DeviceVolume(label, mount_point, atoi(part));
+ dv = new DirectVolume(label, mount_point, atoi(part));
while((sysfs_path = strsep(&next, " \t"))) {
if (dv->addPath(sysfs_path)) {