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

gugelfrei
Elliott Hughes 12 years ago committed by Gerrit Code Review
commit 2d1e5e9680

@ -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;

Loading…
Cancel
Save