[PATCH] partitions: dos: Fix support of extended partition type 0x05
Sascha Hauer
s.hauer at pengutronix.de
Thu Dec 18 22:52:45 PST 2014
Hi victorien,
This patch needs a:
Signed-off-by: Victorien Vedrine <victorien.vedrine at ophrys.net>
Line. Otherwise I can't take it.
Sascha
On Wed, Dec 17, 2014 at 05:09:57PM +0100, victorien wrote:
> ---
> 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list