[android/system/vold] Promote the max partition support to 8

Message ID AANLkTi=-VM04Pp3Fw19Dv4uCiBhYh6-RN7QaoHCM+8Mv@mail.gmail.com
State New
Headers show

Commit Message

Jeremy Chang March 21, 2011, 6:35 p.m.
This is needed for supporting multiple partition layout.

Change-Id: Ic4e1b5f7219cb51f02d9e0d2c14046da9f7b51f1

Signed-off-by: Jeremy Chang <jeremy.chang@linaro.org>
---
 DirectVolume.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/DirectVolume.h b/DirectVolume.h
index 4bf14ff..345de09 100644
--- a/DirectVolume.h
+++ b/DirectVolume.h
@@ -27,7 +27,7 @@  typedef android::List<char *> PathCollection;

 class DirectVolume : public Volume {
 public:
-    static const int MAX_PARTITIONS = 4;
+    static const int MAX_PARTITIONS = 8;
 protected:
     PathCollection *mPaths;
     int            mDiskMajor;