From patchwork Mon Mar 21 18:35:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Chang X-Patchwork-Id: 711 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:45:05 -0000 Delivered-To: patches@linaro.org Received: by 10.220.28.198 with SMTP id n6cs148187vcc; Mon, 21 Mar 2011 11:36:12 -0700 (PDT) Received: by 10.216.230.231 with SMTP id j81mr4066491weq.104.1300732571800; Mon, 21 Mar 2011 11:36:11 -0700 (PDT) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id a13si6176354wer.143.2011.03.21.11.36.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Mar 2011 11:36:11 -0700 (PDT) Received-SPF: pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.50 as permitted sender) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.50 as permitted sender) smtp.mail=shunyu.chang@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by wwc33 with SMTP id 33so7753517wwc.31 for ; Mon, 21 Mar 2011 11:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=qt6Hv7slnb5lj7ny3HdL4ocLRS55urrMuWtCwzrjPEc=; b=iDJ+qlpWBIPKyDBemcGrRxzDIDybnaToKkEodd3qrr1JDI39gMHZYVZ++I8gwtKkvJ bwXSr5PyCpH/Hlp63IcuLP5m0GoxwbGkE2qaPT4kUqv2yspAg+GnQ1b33qaTS+evQzZI mJDdpqtloQLs/MArUe6lcFxkTb4JBq2AbbQOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=GpQZh4y+TzEio76ahPA/w4nwMMdhCVVz+Wnqpt+ipR+Lcn+slD3BmC5hkCElTvWkLB Y4z3hFum3wX6qPGk6rhYzSvIBSaeu8IWVwm2dWsChoTDZjWMrvU5GrIymRlcvG9giJVq taE7U+7XMUAIEJJaaFkPa+hZvvHYGKfx7BzZo= Received: by 10.216.220.147 with SMTP id o19mr4063991wep.98.1300732571155; Mon, 21 Mar 2011 11:36:11 -0700 (PDT) MIME-Version: 1.0 Sender: shunyu.chang@gmail.com Received: by 10.216.153.149 with HTTP; Mon, 21 Mar 2011 11:35:51 -0700 (PDT) From: Jeremy Chang Date: Tue, 22 Mar 2011 02:35:51 +0800 X-Google-Sender-Auth: SyD6iKz3WKwzgiHpmpAP3qbwIAY Message-ID: Subject: [PATCH android/system/vold] Promote the max partition support to 8 To: linaro-dev@lists.linaro.org Cc: patches , Patrik Ryd , Alexander Sack This is needed for supporting multiple partition layout. Change-Id: Ic4e1b5f7219cb51f02d9e0d2c14046da9f7b51f1 Signed-off-by: Jeremy Chang --- DirectVolume.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/DirectVolume.h b/DirectVolume.h index 4bf14ff..345de09 100644 --- a/DirectVolume.h +++ b/DirectVolume.h @@ -27,7 +27,7 @@ typedef android::List PathCollection; class DirectVolume : public Volume { public: - static const int MAX_PARTITIONS = 4; + static const int MAX_PARTITIONS = 8; protected: PathCollection *mPaths; int mDiskMajor;