From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp2-g21.free.fr ([212.27.42.2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y1tg3-0006AN-V7 for barebox@lists.infradead.org; Fri, 19 Dec 2014 09:16:52 +0000 From: Victorien Vedrine Date: Fri, 19 Dec 2014 10:15:38 +0100 Message-Id: <1418980538-26103-1-git-send-email-victorien.vedrine@ophrys.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2] partitions: dos: Fix support of extended partition type 0x05 To: barebox@lists.infradead.org Cc: victorien From: victorien Signed-off-by: Victorien Vedrine --- common/partitions/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/partitions/dos.c b/common/partitions/dos.c index 37addfd..8a3c5c3 100644 --- a/common/partitions/dos.c +++ b/common/partitions/dos.c @@ -209,7 +209,7 @@ static void dos_partition(void *buf, struct block_device *blk, * here as this is the easiest to parse and common * enough. */ - if (pentry.dos_partition_type == 0x0f) { + if ((pentry.dos_partition_type == 0x0f)||(pentry.dos_partition_type == 0x05)) { if (!extended_partition) extended_partition = &pd->parts[n]; else -- 1.9.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox