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

Jeremy Chang jeremy.chang at linaro.org
Tue Mar 22 12:58:44 UTC 2011


This is needed for supporting multiple partition layout.

Delete MAX_PARTS define since it's not used and also to make it look
consistent.

Change-Id: Ic4e1b5f7219cb51f02d9e0d2c14046da9f7b51f1

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

diff --git a/DirectVolume.h b/DirectVolume.h
index 4bf14ff..4cd5725 100644
--- a/DirectVolume.h
+++ b/DirectVolume.h
@@ -21,13 +21,11 @@

 #include "Volume.h"

-#define MAX_PARTS 4
-
 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;
-- 
1.7.1



More information about the linaro-dev mailing list