diff mbox

[v2,android/system/vold] Promote the max partition support to 8

Message ID AANLkTinoxMfz7bXQdNC3gM7zKmZPsLs_ALmjB7JCYgjL@mail.gmail.com
State New
Headers show

Commit Message

Jeremy Chang March 22, 2011, 12:58 p.m. UTC
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@linaro.org>
---
 DirectVolume.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

Comments

Patrik Ryd March 22, 2011, 4:51 p.m. UTC | #1
Looks good to me.

 /Patrik

On 22 March 2011 13:58, Jeremy Chang <jeremy.chang@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@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
>
diff mbox

Patch

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;