Merge "Extend the maximum number of partitions from 4 to 32"

This commit is contained in:
Elliott Hughes 2012-09-25 10:19:42 -07:00 committed by Gerrit Code Review
commit 2d1e5e9680

View file

@ -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 = 32;
protected:
PathCollection *mPaths;
int mDiskMajor;
@ -37,7 +37,7 @@ protected:
int mOrigDiskMinor;
int mOrigPartMinors[MAX_PARTITIONS];
int mDiskNumParts;
unsigned char mPendingPartMap;
unsigned int mPendingPartMap;
int mIsDecrypted;
int mFlags;