am 5695b4bb: am f7e7ee96: am 2d1e5e96: Merge "Extend the maximum number of partitions from 4 to 32"
* commit '5695b4bb1c87a5c6ca884262f7940526ddcc5883':
Extend the maximum number of partitions from 4 to 32
diff --git a/DirectVolume.h b/DirectVolume.h
index de1ed8b..c0139d4 100644
--- a/DirectVolume.h
+++ b/DirectVolume.h
@@ -27,7 +27,7 @@
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 @@
int mOrigDiskMinor;
int mOrigPartMinors[MAX_PARTITIONS];
int mDiskNumParts;
- unsigned char mPendingPartMap;
+ unsigned int mPendingPartMap;
int mIsDecrypted;
int mFlags;