vold2: Wire up more of the mount function
Signed-off-by: San Mehat <san@android.com>
diff --git a/DirectVolume.h b/DirectVolume.h
index b58d867..3dbe76c 100644
--- a/DirectVolume.h
+++ b/DirectVolume.h
@@ -38,12 +38,15 @@
int addPath(const char *path);
int handleBlockEvent(NetlinkEvent *evt);
+protected:
+ int prepareToMount(int *major, int *minor);
private:
void handleDiskAdded(const char *devpath, NetlinkEvent *evt);
void handleDiskRemoved(const char *devpath, NetlinkEvent *evt);
void handlePartitionAdded(const char *devpath, NetlinkEvent *evt);
void handlePartitionRemoved(const char *devpath, NetlinkEvent *evt);
+
};
typedef android::List<DirectVolume *> DirectVolumeCollection;