[PATCH v2 android/system/vold] Promote the max partition support to 8
Patrik Ryd
patrik.ryd at linaro.org
Tue Mar 22 16:51:53 UTC 2011
Looks good to me.
/Patrik
On 22 March 2011 13:58, Jeremy Chang <jeremy.chang at linaro.org> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20110322/62a14139/attachment.html>
More information about the linaro-dev
mailing list