vold2: Wire up more of the mount function

Signed-off-by: San Mehat <san@android.com>
diff --git a/Volume.h b/Volume.h
index f428e91..70169f6 100644
--- a/Volume.h
+++ b/Volume.h
@@ -41,6 +41,9 @@
     Volume(const char *label, const char *mount_point);
     virtual ~Volume();
 
+    int mount();
+    int unmount();
+
     const char *getLabel() { return mLabel; }
     const char *getMountpoint() { return mMountpoint; }
     int getState() { return mState; }
@@ -49,6 +52,11 @@
 
 protected:
     void setState(int state);
+
+    virtual int prepareToMount(int *major, int *minor) = 0;
+
+private:
+    int checkFilesystem(const char *nodepath);
 };
 
 typedef android::List<Volume *> VolumeCollection;