summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Chang <jeremy.chang@linaro.org>2011-03-22 02:12:42 +0800
committerPatrik Ryd <patrik.ryd@linaro.org>2011-03-25 10:20:11 +0100
commit60143ac45817ef63b1df9c3b046a1cef611b53c5 (patch)
tree59a0b0524081691cff27a16c314c90b7b6a30cb0
parenta28056b38275003895ff5d9576681aca01544822 (diff)
downloadvold-linaro_android_2.3.3.tar.gz
Promote the max partition support to 8linaro_android_2.3.3
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
-rw-r--r--DirectVolume.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/DirectVolume.h b/DirectVolume.h
index 4bf14ff0..4cd57255 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;